Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyBooth authored and aduh95 committed Feb 13, 2023
1 parent 1687145 commit 83fe3cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/es-module/test-esm-loader-event-loop.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { mustCall } from '../common/index.mjs';
import assert from 'assert';

const done = mustCall(() => { assert.ok(true) });
const done = mustCall(() => { assert.ok(true); });


// Test that the process doesn't exit because of a caught exception thrown as part of dynamic import().
Expand Down
14 changes: 7 additions & 7 deletions test/es-module/test-esm-loader-spawn-promisified.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Loader hooks throwing errors', { concurrency: true }, () => {
fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'),
'--input-type=module',
'--eval',
`import 'nonexistent/file.mjs'`,
'import \'nonexistent/file.mjs\'',
]);

assert.strictEqual(code, 1);
Expand Down Expand Up @@ -44,7 +44,7 @@ describe('Loader hooks throwing errors', { concurrency: true }, () => {
fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'),
'--input-type=module',
'--eval',
`import 'esmHook/badReturnVal.mjs'`,
'import \'esmHook/badReturnVal.mjs\'',
]);

assert.strictEqual(code, 1);
Expand All @@ -60,7 +60,7 @@ describe('Loader hooks throwing errors', { concurrency: true }, () => {
fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'),
'--input-type=module',
'--eval',
`import 'esmHook/format.false'`,
'import \'esmHook/format.false\'',
]);

assert.strictEqual(code, 1);
Expand All @@ -75,7 +75,7 @@ describe('Loader hooks throwing errors', { concurrency: true }, () => {
fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'),
'--input-type=module',
'--eval',
`import 'esmHook/format.true'`,
'import \'esmHook/format.true\'',
]);

assert.strictEqual(code, 1);
Expand All @@ -91,7 +91,7 @@ describe('Loader hooks throwing errors', { concurrency: true }, () => {
fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'),
'--input-type=module',
'--eval',
`import 'esmHook/badReturnFormatVal.mjs'`,
'import \'esmHook/badReturnFormatVal.mjs\'',
]);

assert.strictEqual(code, 1);
Expand All @@ -107,7 +107,7 @@ describe('Loader hooks throwing errors', { concurrency: true }, () => {
fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'),
'--input-type=module',
'--eval',
`import 'esmHook/unsupportedReturnFormatVal.mjs'`,
'import \'esmHook/unsupportedReturnFormatVal.mjs\'',
]);

assert.strictEqual(code, 1);
Expand All @@ -123,7 +123,7 @@ describe('Loader hooks throwing errors', { concurrency: true }, () => {
fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'),
'--input-type=module',
'--eval',
`import 'esmHook/badReturnSourceVal.mjs'`,
'import \'esmHook/badReturnSourceVal.mjs\'',
]);

assert.strictEqual(code, 1);
Expand Down

0 comments on commit 83fe3cb

Please sign in to comment.