@@ -2,11 +2,11 @@ import { spawnPromisified } from '../common/index.mjs';
2
2
import * as fixtures from '../common/fixtures.mjs' ;
3
3
import assert from 'node:assert' ;
4
4
import { execPath } from 'node:process' ;
5
- import { describe , it } from 'node:test'
5
+ import { describe , it } from 'node:test' ;
6
6
7
7
describe ( 'default resolver' , ( ) => {
8
8
it ( 'should accept foreign schemas without exception (e.g. uyyt://something/or-other' , async ( ) => {
9
- const { code, signal , stdout, stderr } = await spawnPromisified ( execPath , [
9
+ const { code, stdout, stderr } = await spawnPromisified ( execPath , [
10
10
'--no-warnings' ,
11
11
'--experimental-loader' ,
12
12
fixtures . fileURL ( '/es-module-loaders/uyyt-dummy-loader.mjs' ) ,
@@ -15,9 +15,10 @@ describe('default resolver', () => {
15
15
assert . strictEqual ( code , 0 ) ;
16
16
assert . strictEqual ( stdout . trim ( ) , 'index.mjs!' ) ;
17
17
assert . strictEqual ( stderr , '' ) ;
18
- } )
18
+ } ) ;
19
+
19
20
it ( 'should resolve foreign schemas by doing regular url absolutization' , async ( ) => {
20
- const { code, signal , stdout, stderr } = await spawnPromisified ( execPath , [
21
+ const { code, stdout, stderr } = await spawnPromisified ( execPath , [
21
22
'--no-warnings' ,
22
23
'--experimental-loader' ,
23
24
fixtures . fileURL ( '/es-module-loaders/uyyt-dummy-loader.mjs' ) ,
@@ -26,5 +27,5 @@ describe('default resolver', () => {
26
27
assert . strictEqual ( code , 0 ) ;
27
28
assert . strictEqual ( stdout . trim ( ) , '42' ) ;
28
29
assert . strictEqual ( stderr , '' ) ;
29
- } )
30
- } )
30
+ } ) ;
31
+ } ) ;
0 commit comments