From 661f7dfd3603cf3c1fefd58764fe0ad5b79245a4 Mon Sep 17 00:00:00 2001 From: Seok93 Date: Fri, 17 May 2024 16:46:45 +0900 Subject: [PATCH] =?UTF-8?q?Rename:=20#3=20vitest=20=ED=99=98=EA=B2=BD=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=EC=9A=A9=20=ED=8C=8C=EC=9D=BC=EB=AA=85=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 2 +- src/setupTests.js => vitest.setup.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/setupTests.js => vitest.setup.ts (83%) diff --git a/vite.config.ts b/vite.config.ts index f46f5579..78fbf683 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,7 +7,7 @@ export default defineConfig({ test: { globals: true, environment: 'jsdom', - setupFiles: './src/setupTests.js', + setupFiles: './vitest.setup.ts', css: true, }, }); diff --git a/src/setupTests.js b/vitest.setup.ts similarity index 83% rename from src/setupTests.js rename to vitest.setup.ts index 280d82ab..105f812d 100644 --- a/src/setupTests.js +++ b/vitest.setup.ts @@ -1,7 +1,7 @@ import '@testing-library/jest-dom'; import { beforeAll, afterEach, afterAll } from 'vitest'; -import { server } from './mocks/server'; +import { server } from '@mocks/server'; beforeAll(() => server.listen()); afterEach(() => server.resetHandlers());