Skip to content

Commit

Permalink
Fix the client-only test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Jan 4, 2022
1 parent f7471ef commit 2d416c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/test/astro-client-only.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Client only components', () => {

const script = await fixture.readFile(src);
// test 2: svelte renderer is on the page
const exp = /import\("(.\/@astrojs_renderer-svelte_client.*)"\)/g;
const exp = /import\("(.\/client.*)"\)/g;
let match, svelteRenderer;
while ((match = exp.exec(script))) {
svelteRenderer = match[1].replace(/^\./, '/assets/');
Expand Down

0 comments on commit 2d416c4

Please sign in to comment.