From f3f9eac67bb61e70625c2c3aa95370a08d9f4f81 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 27 May 2023 13:12:38 +0200 Subject: [PATCH] Fix comments --- config/test/setupTests.ts | 2 +- vite.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/test/setupTests.ts b/config/test/setupTests.ts index e6a1f665..3411ca8b 100644 --- a/config/test/setupTests.ts +++ b/config/test/setupTests.ts @@ -17,7 +17,7 @@ expect.extend(matchers); afterEach(() => { // Clears all mocks after every test vi.clearAllMocks(); - // runs a cleanup after each test case (e.g. clearing jsdom) + // Run a cleanup after each test case (e.g. clearing jsdom) cleanup(); }); diff --git a/vite.config.ts b/vite.config.ts index 6a1bea03..f2464ec9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,6 +25,7 @@ export default defineConfig({ }, base: !homepage ? undefined : homepage, // Not using just homepage because empty string should be discarded + // Vitest config test: { globals: true, environment: 'jsdom',