summaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2023-02-11 01:36:46 +0800
committerLASER-Yi <[email protected]>2023-02-11 01:36:46 +0800
commit1106f78ec160522291482513132b774df6e34d45 (patch)
tree8a4f1545677d9c6964d65a499cb68372f7ac89dd /frontend
parent85e4796e0b2f511b3789689b20fcc2aeeeaac152 (diff)
downloadbazarr-1106f78ec160522291482513132b774df6e34d45.tar.gz
bazarr-1106f78ec160522291482513132b774df6e34d45.zip
no log: Move setup file to src folder
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/providers.tsx1
-rw-r--r--frontend/src/tests/setup.ts (renamed from frontend/test/setup.ts)0
-rw-r--r--frontend/vite.config.ts2
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: {