Skip to content

Commit 9ba5038

Browse files
committed
Tweak path to fixtures
1 parent d802699 commit 9ba5038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/fixture/compress.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { readdirSync, statSync, readFileSync } from 'fs';
2-
import { join, relative } from 'path';
2+
import { join, relative, resolve } from 'path';
33

4-
const __dirname = 'fixtures/compress';
4+
const __dirname = resolve(new URL(import.meta.url).pathname, '../../../fixtures/compress');
55
const tests = {};
66

77
(function scan(dir) {

0 commit comments

Comments
 (0)