mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
13 lines
318 B
TypeScript
13 lines
318 B
TypeScript
import { expect, test } from 'vitest'
|
|
import { isBuild, serverLogs } from '~utils'
|
|
|
|
test.runIf(isBuild)(
|
|
"don't warn when codeSplitting is set to false",
|
|
async () => {
|
|
const log = serverLogs.join('\n')
|
|
expect(log).not.toContain(
|
|
'dynamic import will not move module into another chunk',
|
|
)
|
|
},
|
|
)
|