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 d802699 commit 9ba5038Copy full SHA for 9ba5038
test/fixture/compress.js
@@ -1,7 +1,7 @@
1
import { readdirSync, statSync, readFileSync } from 'fs';
2
-import { join, relative } from 'path';
+import { join, relative, resolve } from 'path';
3
4
-const __dirname = 'fixtures/compress';
+const __dirname = resolve(new URL(import.meta.url).pathname, '../../../fixtures/compress');
5
const tests = {};
6
7
(function scan(dir) {
0 commit comments