Skip to content

Commit d812a79

Browse files
committed
test,loader: remove skip from loader test
Removing the skip message from test since `data:text/javascript,` is being used to bypass the required argument validation of the --experimental-loader <required> flag.
1 parent 19491e6 commit d812a79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/es-module/test-esm-loader-programmatically.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import { spawnPromisified } from '../common/index.mjs';
88
// programmatically.
99

1010
describe('ESM: register loader programmatically', { concurrency: true }, () => {
11-
it('should be able to register programmatically loader', {
12-
skip: 'Skipping for now because --experimental-loader option is required to use the CustomModuleLoader'
13-
}, async () => {
11+
it('should be able to register programmatically loader', async () => {
1412
const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [
1513
'--no-warnings',
14+
'--experimental-loader',
15+
'data:text/javascript,',
1616
fixtures.path('/es-module-loaders/register-loader-entrypoint.mjs'),
1717
]);
1818

0 commit comments

Comments
 (0)