From a51ae1533c54162f14785652e9128f90afb86aed Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 28 Dec 2023 22:15:47 -0500 Subject: Database test updates (#461) * Initial changes * Move test * Disable async * Add createCustomDataTest * Move test case data to JSON file * Update tests * Cleanup * Simplify * Add dedicated test for database clearing * Remove previous clear testing * Remove unused test function * Update values --- test/data/json.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/data/json.json') diff --git a/test/data/json.json b/test/data/json.json index abe2e339..83b1b4e0 100644 --- a/test/data/json.json +++ b/test/data/json.json @@ -118,6 +118,12 @@ "type": "AnkiNoteBuilderTestResults", "jsconfig": "test" }, + { + "path": "test/data/database-test-cases.json", + "typeFile": "types/test/database.d.ts", + "type": "DatabaseTestData", + "jsconfig": "test" + }, { "path": "test/data/json.json", "typeFile": "types/test/json.d.ts", -- cgit v1.2.3