mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
test: add import protection test
This commit is contained in:
parent
644449409c
commit
cf8142b734
@ -24,6 +24,7 @@ const testsToTriggerOn = [
|
|||||||
['some-nuxt-module', 'components/Component.vue', true],
|
['some-nuxt-module', 'components/Component.vue', true],
|
||||||
['/root/src/server/api/test.ts', 'components/Component.vue', true],
|
['/root/src/server/api/test.ts', 'components/Component.vue', true],
|
||||||
['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
|
] as const
|
||||||
|
|
||||||
describe('import protection', () => {
|
describe('import protection', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user