Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1538cdd

Browse files
flytreeleftyyx990803
flytreeleft
authored andcommitted
use absolute path to make sure running tests is OK even if it is in node_modules of other project (vuejs#2685)
1 parent66ebb17 commit1538cdd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎build/webpack.test.config.js‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ module.exports = {
1717
{
1818
test:/\.js$/,
1919
loader:'babel',
20-
exclude:/test\/unit|node_modules/
20+
// NOTE: use absolute path to make sure
21+
// running tests is OK even if it is in node_modules of other project
22+
exclude:[
23+
path.resolve(__dirname,'../test/unit'),
24+
path.resolve(__dirname,'../node_modules')
25+
]
2126
}
2227
]
2328
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp