Skip to content

Commit b0c8bfb

Browse files
committed
test: fix warning
1 parent 384d03d commit b0c8bfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/node-protocol.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ describe('node protocol', () => {
136136
files,
137137
options: {
138138
nodeProtocol: true,
139+
external: ['express'],
139140
},
140141
})
141142
expect(snapshot).toMatch(/from ['"]node:fs['"]/)
@@ -183,7 +184,7 @@ describe('node protocol', () => {
183184
'index.ts': `
184185
import { readFile } from 'fs/promises'
185186
import { fileURLToPath } from 'url'
186-
187+
187188
export { readFile, fileURLToPath }
188189
`,
189190
}

0 commit comments

Comments
 (0)