Skip to content

Commit 50be786

Browse files
authored
chore: remove one assertion
1 parent 0a3ea6d commit 50be786

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

playground/js-sourcemap/__tests__/js-sourcemap.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,6 @@ describe.runIf(isBuild)('build tests', () => {
191191
const mapObj = JSON.parse(mapContent)
192192

193193
if (mapObj.file) {
194-
expect(
195-
mapObj.file,
196-
`Sourcemap file field for ${mapAsset} should not include directory prefix`,
197-
).not.toMatch(/^assets\//)
198194
expect(
199195
mapObj.file,
200196
`Sourcemap file field for ${mapAsset} should be just the filename`,

0 commit comments

Comments
 (0)