Skip to content

Commit

Permalink
test: fix the asset path of foo.css
Browse files Browse the repository at this point in the history
  • Loading branch information
aleen42 committed Jan 4, 2023
1 parent 1f7b2d2 commit 5c7e98c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ describe.runIf(isBuild)('build', () => {
const cssAssetEntry = manifest['global.css']
const scssAssetEntry = manifest['nested/blue.scss']
const imgAssetEntry = manifest['../images/logo.png']
const dirFooAssetEntry = manifest['../../dir/foo.css'] // '\\' should not be used even on windows
const dirFooAssetEntry = manifest['foo.css'] // '\\' should not be used even on windows
expect(htmlEntry.css.length).toEqual(1)
expect(htmlEntry.assets.length).toEqual(1)
expect(cssAssetEntry?.file).not.toBeUndefined()
Expand Down

0 comments on commit 5c7e98c

Please sign in to comment.