Skip to content

Commit

Permalink
Database test updates (#461)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
toasted-nutbread authored Dec 29, 2023
1 parent 476d754 commit a51ae15
Show file tree
Hide file tree
Showing 5 changed files with 1,128 additions and 792 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@
{
"files": [
"test/data/anki-note-builder-test-results.json",
"test/data/database-test-cases.json",
"test/data/translator-test-results-note-data1.json",
"test/data/translator-test-results.json"
],
Expand Down
Loading

0 comments on commit a51ae15

Please sign in to comment.