From 19e4d7fc63e8af6e4000e41469eaad935623af7d Mon Sep 17 00:00:00 2001 From: juhanikat Date: Sat, 19 Sep 2026 13:04:16 +0300 Subject: [PATCH] update unit test, and update tsconfig inside the cypress folder --- cypress/tsconfig.json | 3 ++- .../tests/components/TableToolBarColumnButtons.test.tsx | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json index 86b6121a..e3984478 100644 --- a/cypress/tsconfig.json +++ b/cypress/tsconfig.json @@ -1,9 +1,10 @@ { "extends": "../frontend/tsconfig.json", "compilerOptions": { + "allowJs": true, "types": ["cypress", "node"], "isolatedModules": true, "noEmit": true }, - "include": ["./**/*.ts", "./**/*.tsx", "./**/*.d.ts"] + "include": ["./**/*.js", "./**/*.ts", "./**/*.tsx", "./**/*.d.ts"] } diff --git a/frontend/src/tests/components/TableToolBarColumnButtons.test.tsx b/frontend/src/tests/components/TableToolBarColumnButtons.test.tsx index e5a1e8e3..71e1f590 100644 --- a/frontend/src/tests/components/TableToolBarColumnButtons.test.tsx +++ b/frontend/src/tests/components/TableToolBarColumnButtons.test.tsx @@ -72,7 +72,13 @@ const renderToolbar = (props?: Partial createTitle={() => ''} createSubtitle={() => ''} > - +