We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isFileServingAllowed
1 parent 0c7eaac commit 2de117aCopy full SHA for 2de117a
packages/vitest/src/api/setup.ts
@@ -20,9 +20,9 @@ import { performance } from 'node:perf_hooks'
20
import { noop } from '@vitest/utils/helpers'
21
import { createBirpc } from 'birpc'
22
import { parse, stringify } from 'flatted'
23
-import { isFileServingAllowed } from 'vite'
24
import { WebSocketServer } from 'ws'
25
import { API_PATH } from '../constants'
+import { isFileServingAllowed } from '../node/vite'
26
import { getTestFileEnvironment } from '../utils/environments'
27
import { getModuleGraph } from '../utils/graph'
28
import { stringifyReplace } from '../utils/serialization'
0 commit comments