From 2d416c477e7eba49f7868b640c3011e5c19ac4e8 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 4 Jan 2022 08:53:26 -0500 Subject: [PATCH] Fix the client-only test --- packages/astro/test/astro-client-only.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/test/astro-client-only.test.js b/packages/astro/test/astro-client-only.test.js index 72ba0a6729c4..2f767ba5bee1 100644 --- a/packages/astro/test/astro-client-only.test.js +++ b/packages/astro/test/astro-client-only.test.js @@ -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/');