From fbd5c33ba2e8a1ef487a6dd0d29f32bec7c12e63 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 19 Nov 2024 13:56:33 -0500 Subject: [PATCH] test: add import protection test --- packages/nuxt/test/import-protection.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nuxt/test/import-protection.test.ts b/packages/nuxt/test/import-protection.test.ts index 58d351317e..31a9e82836 100644 --- a/packages/nuxt/test/import-protection.test.ts +++ b/packages/nuxt/test/import-protection.test.ts @@ -24,6 +24,7 @@ const testsToTriggerOn = [ ['some-nuxt-module', 'components/Component.vue', true], ['/root/src/server/api/test.ts', 'components/Component.vue', true], ['src/server/api/test.ts', 'components/Component.vue', true], + ['node_modules/nitropack/node_modules/crossws/dist/adapters/bun.mjs', 'node_modules/nitropack/dist/presets/bun/runtime/bun.mjs', false], ] as const describe('import protection', () => {