diff options
author | LASER-Yi <[email protected]> | 2023-02-11 01:36:46 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2023-02-11 01:36:46 +0800 |
commit | 1106f78ec160522291482513132b774df6e34d45 (patch) | |
tree | 8a4f1545677d9c6964d65a499cb68372f7ac89dd /frontend | |
parent | 85e4796e0b2f511b3789689b20fcc2aeeeaac152 (diff) | |
download | bazarr-1106f78ec160522291482513132b774df6e34d45.tar.gz bazarr-1106f78ec160522291482513132b774df6e34d45.zip |
no log: Move setup file to src folder
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/src/providers.tsx | 1 | ||||
-rw-r--r-- | frontend/src/tests/setup.ts (renamed from frontend/test/setup.ts) | 0 | ||||
-rw-r--r-- | frontend/vite.config.ts | 2 |
3 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/providers.tsx b/frontend/src/providers.tsx index 83303843e..0d9350295 100644 --- a/frontend/src/providers.tsx +++ b/frontend/src/providers.tsx @@ -16,6 +16,7 @@ export const AllProviders: FunctionComponent = ({ children }) => { <ModalsProvider> <NotificationsProvider limit={5}> <Router> + {/* c8 ignore next 3 */} {Environment.queryDev && ( <ReactQueryDevtools initialIsOpen={false} /> )} diff --git a/frontend/test/setup.ts b/frontend/src/tests/setup.ts index 2b3bf3672..2b3bf3672 100644 --- a/frontend/test/setup.ts +++ b/frontend/src/tests/setup.ts diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 600cc8f37..41fbaa7a4 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -50,7 +50,7 @@ export default defineConfig(async ({ mode, command }) => { test: { globals: true, environment: "jsdom", - setupFiles: "./test/setup.ts", + setupFiles: "./src/tests/setup.ts", }, server: { proxy: { |