mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
14 lines
330 B
TypeScript
14 lines
330 B
TypeScript
import { isBuild } from 'testUtils'
|
|
|
|
if (isBuild) {
|
|
test('should not output sourcemap warning (#4939)', () => {
|
|
serverLogs.forEach((log) => {
|
|
expect(log).not.toMatch('Sourcemap is likely to be incorrect')
|
|
})
|
|
})
|
|
} else {
|
|
test('this file only includes test for build', () => {
|
|
expect(true).toBe(true)
|
|
})
|
|
}
|