From 24c85c83048e015109b09b637ce1ebe6064ece77 Mon Sep 17 00:00:00 2001 From: Andrei Borza Date: Wed, 27 Nov 2024 12:43:38 +0100 Subject: [PATCH] Fix nuxt e2e tests --- e2e-tests/tests/nuxt-3.test.ts | 2 +- e2e-tests/tests/nuxt-4.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e-tests/tests/nuxt-3.test.ts b/e2e-tests/tests/nuxt-3.test.ts index 7c9fa498..47091875 100644 --- a/e2e-tests/tests/nuxt-3.test.ts +++ b/e2e-tests/tests/nuxt-3.test.ts @@ -114,7 +114,7 @@ function testNuxtProjectConfigs(projectDir: string) { ' }', '},', 'sourcemap: {', - ' client: true', + " client: 'hidden'", '}', ]); }); diff --git a/e2e-tests/tests/nuxt-4.test.ts b/e2e-tests/tests/nuxt-4.test.ts index cf30ea9c..3c1e560b 100644 --- a/e2e-tests/tests/nuxt-4.test.ts +++ b/e2e-tests/tests/nuxt-4.test.ts @@ -97,7 +97,7 @@ function testNuxtProjectSetup(projectDir: string) { }); test('example page exists', () => { - checkFileExists(`${projectDir}'/app/pages/sentry-example-page.vue`); + checkFileExists(`${projectDir}/app/pages/sentry-example-page.vue`); checkFileExists(`${projectDir}/server/api/sentry-example-api.ts`); }); } @@ -113,7 +113,7 @@ function testNuxtProjectConfigs(projectDir: string) { ' }', '},', 'sourcemap: {', - ' client: true', + " client: 'hidden'", '}', ]); });