Skip to content

Commit d9ceb68

Browse files
mightyalekseyAlexey Litvinov
authored andcommitted
fix for the compose-node-module test
custom path provided to the node_modules folder
1 parent 42f5488 commit d9ceb68

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
"node": ">=0.12"
88
},
99
"scripts": {
10-
"prepublish": "in-publish && npm run -s build || in-install",
11-
"test": "mocha --require test/setup.js --ui tdd test/*/*.js --harmony_destructuring --harmony_spread_arrays --use_strict",
12-
"test:w": "mocha --require test/setup.js --ui tdd --watch test/*/*.js --harmony_destructuring --harmony_spread_arrays --use_strict"
10+
"test": "NODE_PATH=$(pwd)/test/tokens/node_modules mocha --require test/setup.js --ui tdd test/*/*.js --harmony_destructuring --harmony_spread_arrays --use_strict",
11+
"test:w": "NODE_PATH=$(pwd)/test/tokens/node_modules mocha --require test/setup.js --ui tdd --watch test/*/*.js --harmony_destructuring --harmony_spread_arrays --use_strict"
1312
},
1413
"repository": {
1514
"type": "git",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"foo": "_test_tokens_cases_compose_node_module_source__foo _node_modules_awesome_theme_common__paragraph _node_modules_awesome_theme_oceanic__color"
2+
"foo": "_test_tokens_cases_compose_node_module_source__foo _test_tokens_node_modules_awesome_theme_common__paragraph _test_tokens_node_modules_awesome_theme_oceanic__color"
33
}

0 commit comments

Comments
 (0)