Skip to content

Commit 3e40776

Browse files
committed
fix(ts): exclude ui-router.mock.ts from tsconfig.client.test.json if using ngroute
1 parent b541407 commit 3e40776

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: app/templates/tsconfig.client.test(ts).json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"client/components/oauth-buttons/oauth-buttons.controller.spec.ts",
1414
"client/components/oauth-buttons/oauth-buttons.directive.spec.ts",
1515
"client/components/socket/socket.mock.ts",
16-
"client/components/ui-router/ui-router.mock.ts",
16+
<%_ if(filters.uirouter) { _%>
17+
"client/components/ui-router/ui-router.mock.ts",<% } %>
1718
"client/test_typings/angular-protractor/angular-protractor.d.ts",
1819
"client/test_typings/selenium-webdriver/selenium-webdriver.d.ts",<% if(filters.mocha) { %>
1920
"client/test_typings/mocha/mocha.d.ts",

0 commit comments

Comments
 (0)