Skip to content

Commit 2b7f5ba

Browse files
🧪 test: Run tests on /dist.
1 parent 250f4ff commit 2b7f5ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"test/src/**/*"
101101
],
102102
"nodeArguments": [
103-
"--experimental-loader=@node-loader/core"
103+
"--import=data:text/javascript,import {register} from 'node:module'; import {pathToFileURL} from 'node:url'; register('@node-loader/core', pathToFileURL('./'))"
104104
],
105105
"require": [
106106
"regenerator-runtime/runtime"

test/src/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import test from 'ava';
22

3-
import {isPalindrome} from '../../src/index.js';
3+
import {isPalindrome} from '#module';
44

55
const macro = (t, s, expected) => {
66
t.is(expected, isPalindrome(s));

0 commit comments

Comments
 (0)