diff options
Diffstat (limited to '')
-rw-r--r-- | packages/astro/test/ssr-split-manifest.test.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/astro/test/ssr-split-manifest.test.js b/packages/astro/test/ssr-split-manifest.test.js index 7df104e76..89c8e00ef 100644 --- a/packages/astro/test/ssr-split-manifest.test.js +++ b/packages/astro/test/ssr-split-manifest.test.js @@ -45,7 +45,9 @@ describe('astro:ssr-manifest, split', () => { const html = await response.text(); const $ = cheerio.load(html); - expect($('#assets').text()).to.equal('["/_astro/index.a8a337e4.css","/prerender/index.html"]'); + expect($('#assets').text()).to.match( + /\["\/_astro\/index\.([\w-]{8})\.css","\/prerender\/index\.html"\]/ + ); }); it('should give access to entry points that exists on file system', async () => { |