mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
update unit test, and update tsconfig inside the cypress folder
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"extends": "../frontend/tsconfig.json",
|
"extends": "../frontend/tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"allowJs": true,
|
||||||
"types": ["cypress", "node"],
|
"types": ["cypress", "node"],
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"noEmit": 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={() => ''}
|
createTitle={() => ''}
|
||||||
createSubtitle={() => ''}
|
createSubtitle={() => ''}
|
||||||
>
|
>
|
||||||
<TableToolBar table={table} tableName={tableName} hideLeftButtons={true} {...props} />
|
<TableToolBar
|
||||||
|
table={table}
|
||||||
|
tableName={tableName}
|
||||||
|
showContactButton={false}
|
||||||
|
showNewButton={false}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
</PageContextProvider>
|
</PageContextProvider>
|
||||||
</NotificationContextProvider>
|
</NotificationContextProvider>
|
||||||
</MemoryRouter>
|
</MemoryRouter>
|
||||||
|
|||||||
Reference in New Issue
Block a user