fixed karma-webpack, also added jasmine-ts to run tests in pure NodeJS
This commit is contained in:
parent
8f0f16a551
commit
8dc9cf21d7
4 changed files with 7 additions and 9 deletions
|
@ -35,7 +35,7 @@ export class RouteBuilderImpl implements RouteBuilder {
|
|||
var page = pair[1];
|
||||
var templateUrl = foundProfile.templatePath + page.templateName;
|
||||
|
||||
var options = jQuery.extend({}, page.flags || {});
|
||||
var options = page.flags || {};
|
||||
options['templateUrl'] = templateUrl;
|
||||
options['reloadOnSearch'] = false;
|
||||
options['controller'] = page.controller;
|
||||
|
|
|
@ -7,10 +7,6 @@ describe("Service: RouteBuilderImpl", () => {
|
|||
var profiles;
|
||||
var currentProfile;
|
||||
|
||||
it("sanity", () => {
|
||||
expect(true).toBe(true);
|
||||
});
|
||||
|
||||
beforeEach((() => {
|
||||
profiles = [
|
||||
{id: 'old-layout', templatePath: '/static/partials/'},
|
||||
|
|
Reference in a new issue