Skip to content

Commit 1afd7af

Browse files
committed
small update
1 parent 13a2da8 commit 1afd7af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/api/rootDir.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const detachHook = require('../sugar').detachHook;
22
const dropCache = require('../sugar').dropCache;
3-
const path = require('path');
3+
const join = require('path').join;
44

55
suite('api/rootDir', () => {
66
suite('should change the way in which tokens are generated', () => {
@@ -10,7 +10,7 @@ suite('api/rootDir', () => {
1010
test('should return different tokens', () => assert.notDeepEqual(tokens1, tokens2));
1111

1212
setup(() => {
13-
hook({rootDir: path.join(__dirname, '../../')});
13+
hook({rootDir: join(__dirname, '../../')});
1414
tokens1 = require('./fixture/oceanic.css');
1515
dropCache('./api/fixture/oceanic.css');
1616

0 commit comments

Comments
 (0)