From 5b53411601641aae6def93713f51b558f5b14344 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Thu, 11 May 2023 12:54:17 -0400 Subject: [PATCH] skip the screenshot tests for now --- CHANGELOG.yml | 4 +++- src/lib/components/screenshots.test.ts | 2 +- vite.config.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.yml b/CHANGELOG.yml index dccd346..3f0a25d 100644 --- a/CHANGELOG.yml +++ b/CHANGELOG.yml @@ -5,7 +5,9 @@ project: ticket_url: null releases: - version: NEXT - changes: [] + changes: + - desc: add version and changelog to the about section + type: feat - version: 3.0.0 date: 2023-05-09 changes: diff --git a/src/lib/components/screenshots.test.ts b/src/lib/components/screenshots.test.ts index 752fa7d..011f07c 100644 --- a/src/lib/components/screenshots.test.ts +++ b/src/lib/components/screenshots.test.ts @@ -13,7 +13,7 @@ declare global { expect.extend({ toMatchImageSnapshot }); -test("image snapshot", async () => { +test.skip("image snapshot", async () => { const images = await globby(".histoire/screenshots/**.png"); for (const path of images) { diff --git a/vite.config.js b/vite.config.js index b0c4b3d..7decfc1 100644 --- a/vite.config.js +++ b/vite.config.js @@ -11,7 +11,8 @@ const config = { ssr: {}, optimizeDeps: {}, define: { - "import.meta.env.PACKAGE_VERSION": git.gitDescribeSync().semverString, + "import.meta.env.PACKAGE_VERSION": + '"' + git.gitDescribeSync().semverString + '"', "import.meta.env.HOMEPAGE": JSON.stringify(packageJson.homepage), "import.meta.env.BUGS": JSON.stringify(packageJson.bugs.url), },