update unit test, and update tsconfig inside the cypress folder

This commit is contained in:
juhanikat
2026-09-19 13:04:16 +03:00
parent 0ab868e758
commit 19e4d7fc63
2 changed files with 9 additions and 2 deletions
+2 -1
View File
@@ -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"]
}
@@ -72,7 +72,13 @@ const renderToolbar = (props?: Partial<React.ComponentProps<typeof TableToolBar>
createTitle={() => ''}
createSubtitle={() => ''}
>
<TableToolBar table={table} tableName={tableName} hideLeftButtons={true} {...props} />
<TableToolBar
table={table}
tableName={tableName}
showContactButton={false}
showNewButton={false}
{...props}
/>
</PageContextProvider>
</NotificationContextProvider>
</MemoryRouter>