fixed karma-webpack, also added jasmine-ts to run tests in pure NodeJS

This commit is contained in:
alecmerdler 2017-01-19 20:02:57 -08:00
parent 8f0f16a551
commit 8dc9cf21d7
4 changed files with 7 additions and 9 deletions

View file

@ -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;

View file

@ -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/'},