mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
9 lines
258 B
TypeScript
9 lines
258 B
TypeScript
import { expect, test } from 'vitest'
|
|
import { isBuild, serverLogs } from '~utils'
|
|
|
|
test.runIf(isBuild)('should not output sourcemap warning', () => {
|
|
serverLogs.forEach((log) => {
|
|
expect(log).not.toMatch('Sourcemap is likely to be incorrect')
|
|
})
|
|
})
|