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 13a2da8 commit 1afd7afCopy full SHA for 1afd7af
test/api/rootDir.js
@@ -1,6 +1,6 @@
1
const detachHook = require('../sugar').detachHook;
2
const dropCache = require('../sugar').dropCache;
3
-const path = require('path');
+const join = require('path').join;
4
5
suite('api/rootDir', () => {
6
suite('should change the way in which tokens are generated', () => {
@@ -10,7 +10,7 @@ suite('api/rootDir', () => {
10
test('should return different tokens', () => assert.notDeepEqual(tokens1, tokens2));
11
12
setup(() => {
13
- hook({rootDir: path.join(__dirname, '../../')});
+ hook({rootDir: join(__dirname, '../../')});
14
tokens1 = require('./fixture/oceanic.css');
15
dropCache('./api/fixture/oceanic.css');
16
0 commit comments