Skip to content

Commit

Permalink
test,loader: remove skip from loader test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jlenon7 committed Apr 19, 2023
1 parent 19491e6 commit d812a79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/es-module/test-esm-loader-programmatically.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import { spawnPromisified } from '../common/index.mjs';
// programmatically.

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

Expand Down

0 comments on commit d812a79

Please sign in to comment.