We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67572e commit 881d170Copy full SHA for 881d170
templates/app/spec.js
@@ -10,13 +10,5 @@ require('./client/components/ui-router/ui-router.mock');<% } %>
10
<%_ if(filters.socketio) { _%>
11
require('./client/components/socket/socket.mock');<% } %>
12
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]);
+testsContext = require.context('./client', true, /\.spec\.<%= scriptExt %>$/);
22
testsContext.keys().forEach(testsContext);
0 commit comments