Skip to content
This repository was archived by the owner on Jun 14, 2018. It is now read-only.

Commit 7b8bf42

Browse files
committed
use webpack alias
1 parent 25aed12 commit 7b8bf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/test/unit/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ testsContext.keys().forEach(testsContext){{#if_eq lintConfig "airbnb"}};{{/if_eq
99
// require all src files except main.js for coverage.
1010
// you can also change this to match only the subset of files that
1111
// you want coverage for.
12-
const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/){{#if_eq lintConfig "airbnb"}};{{/if_eq}}
12+
const srcContext = require.context('src', true, /^\.\/(?!main(\.js)?$)/){{#if_eq lintConfig "airbnb"}};{{/if_eq}}
1313
srcContext.keys().forEach(srcContext){{#if_eq lintConfig "airbnb"}};{{/if_eq}}

0 commit comments

Comments
 (0)