Fix comments

This commit is contained in:
Alejandro Celaya 2023-05-27 13:12:38 +02:00
parent 2a86a0e540
commit f3f9eac67b
2 changed files with 2 additions and 1 deletions

View file

@ -17,7 +17,7 @@ expect.extend(matchers);
afterEach(() => { afterEach(() => {
// Clears all mocks after every test // Clears all mocks after every test
vi.clearAllMocks(); 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(); cleanup();
}); });

View file

@ -25,6 +25,7 @@ export default defineConfig({
}, },
base: !homepage ? undefined : homepage, // Not using just homepage because empty string should be discarded base: !homepage ? undefined : homepage, // Not using just homepage because empty string should be discarded
// Vitest config
test: { test: {
globals: true, globals: true,
environment: 'jsdom', environment: 'jsdom',