Skip to content

Commit aad25e6

Browse files
Update packages/builders/src/node-module-esbuild-plugin.test.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
1 parent 8945608 commit aad25e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/builders/src/node-module-esbuild-plugin.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ describe('workflow-node-module-error helper functions', () => {
301301
const cwd = process.cwd();
302302
const testFile = 'src/node-module-esbuild-plugin.test.ts';
303303

304-
// Test with 'esbuild' which is imported in this file
305-
const location = getViolationLocation(cwd, testFile, 'http');
304+
// Test with 'node:http' which is imported in this file but never used
305+
const location = getViolationLocation(cwd, testFile, 'node:http');
306306

307307
// Since the identifier is never referenced (only imported), we should
308308
// not produce a location preview.

0 commit comments

Comments
 (0)