mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
Co-authored-by: sapphi-red <[email protected]> Co-authored-by: bluwy <[email protected]> Co-authored-by: Hanzo Dev <[email protected]>
9 lines
284 B
TypeScript
9 lines
284 B
TypeScript
import { describe, expect, test } from 'vitest'
|
|
import { findAssetFile, isBuild } from '~utils'
|
|
|
|
describe.runIf(isBuild)('css lib entry', () => {
|
|
test('remove useless js sourcemap', async () => {
|
|
expect(findAssetFile('linked.js.map', 'lib-entry', './')).toBeUndefined()
|
|
})
|
|
})
|