Skip to content

Commit 881d170

Browse files
committed
fix(test:client): fix client tests for TS
1 parent c67572e commit 881d170

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

templates/app/spec.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,5 @@ require('./client/components/ui-router/ui-router.mock');<% } %>
1010
<%_ if(filters.socketio) { _%>
1111
require('./client/components/socket/socket.mock');<% } %>
1212

13-
testsContext = require.context('./client', true, /\.spec\.js$/);
14-
// var keys = testsContext.keys();
15-
// console.log(keys);
16-
// console.log(keys[0]);
17-
// testsContext(keys[0]);
18-
// console.log(keys[1]);
19-
// testsContext(keys[1]);
20-
// console.log(keys[2]);
21-
// testsContext(keys[2]);
13+
testsContext = require.context('./client', true, /\.spec\.<%= scriptExt %>$/);
2214
testsContext.keys().forEach(testsContext);

0 commit comments

Comments
 (0)