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 164873b commit 6f57c7fCopy full SHA for 6f57c7f
test/api/generateScopedName.js
@@ -1,6 +1,7 @@
1
const detachHook = require('../sugar').detachHook;
2
const dropCache = require('../sugar').dropCache;
3
const identity = require('lodash').lodash;
4
+const resolve = require('path').resolve;
5
6
suite('api/generateScopedName', () => {
7
suite('using function', () => {
@@ -19,7 +20,7 @@ suite('api/generateScopedName', () => {
19
20
test('should provide selector, filepath and source to the function', () => {
21
assert.deepEqual(args, [
22
'color',
- '/Users/sullenor/Documents/repos/css-modules-require-hook/test/api/fixture/oceanic.css',
23
+ resolve('test/api/fixture/oceanic.css'),
24
'.color\n{\n background: #1e2a35;\n}\n',
25
]);
26
});
0 commit comments