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",
|
||||
"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>
|
||||
|
||||
Reference in New Issue
Block a user