Skip to content

Commit 41ac730

Browse files
committed
Remove test that tests throwing errors (prevented from running by TS)
1 parent b4f789f commit 41ac730

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/tests/ReactSpreadsheetImport.test.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,3 @@ test("Close modal", async () => {
2222
await userEvent.click(confirmButton)
2323
expect(onClose).toBeCalled()
2424
})
25-
26-
test("Should throw error if no fields are provided", async () => {
27-
const errorRender = () => render(<ReactSpreadsheetImport {...mockRsiValues} fields={undefined} />)
28-
29-
expect(errorRender).toThrow()
30-
})

0 commit comments

Comments
 (0)