Skip to content

Commit

Permalink
🧪 test: Run tests on /dist.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Feb 4, 2024
1 parent 250f4ff commit 2b7f5ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"test/src/**/*"
],
"nodeArguments": [
"--experimental-loader=@node-loader/core"
"--import=data:text/javascript,import {register} from 'node:module'; import {pathToFileURL} from 'node:url'; register('@node-loader/core', pathToFileURL('./'))"
],
"require": [
"regenerator-runtime/runtime"
Expand Down
2 changes: 1 addition & 1 deletion test/src/api.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava';

import {isPalindrome} from '../../src/index.js';
import {isPalindrome} from '#module';

const macro = (t, s, expected) => {
t.is(expected, isPalindrome(s));
Expand Down

0 comments on commit 2b7f5ba

Please sign in to comment.