mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
test: update filename regex (#18593)
This commit is contained in:
parent
a51c254265
commit
dd25c1ab5d
@ -602,7 +602,7 @@ describe('resolveBuildOutputs', () => {
|
||||
fileName: 'index.mjs',
|
||||
},
|
||||
{
|
||||
fileName: expect.stringMatching(/assets\/index-\w*\.css/),
|
||||
fileName: expect.stringMatching(/assets\/index-[-\w]{8}\.css/),
|
||||
},
|
||||
],
|
||||
})
|
||||
@ -633,7 +633,7 @@ describe('resolveBuildOutputs', () => {
|
||||
fileName: 'index.mjs',
|
||||
},
|
||||
{
|
||||
fileName: expect.stringMatching(/assets\/index-\w*\.css/),
|
||||
fileName: expect.stringMatching(/assets\/index-[-\w]{8}\.css/),
|
||||
},
|
||||
],
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user