aboutsummaryrefslogtreecommitdiff
path: root/test/anki-note-builder.test.js
Commit message (Collapse)AuthorAge
* Dictionary data tests + write mode (#415)toasted-nutbread2023-12-22
| | | | | | | | | | | | | | | | | | | | | * Rename test * Refactor * Create new dictionary-data.test.js * Move utility functions * Remove old tests * Slight refactor * Add command to rebuild test data * Clarify name * Don't expect in write mode * Ignore config file
* Remove TemplateRendererProxy mock (#388)toasted-nutbread2023-12-19
|
* Make JSON.parse usage safer (#373)toasted-nutbread2023-12-19
| | | | | | | | | | | | | | | * Make JSON.parse usage safer * Fix any type * Add readResponseJson * Use readResponseJson * Additional updates * Rename files * Add types
* Test fixtures (#371)toasted-nutbread2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Move and rename document-test.js file * Only load HTML file content once * Move testDoc construction * Add createTranslatorTest * Add utilities * Update translator tests * Rename * Refactor anki note builder tests * Refactor * Use internal expect * Updates * Remove actual results * Remove concurrent
* Mock updates (#370)toasted-nutbread2023-12-18
| | | | | | | | | * Move DictionaryImporterMediaLoader mock * Move TemplateRendererProxy mock * Simplify mock * Remove ignore rule because it seems unused
* Fix vitest type (#365)toasted-nutbread2023-12-17
|
* Fix DOM tests (#363)toasted-nutbread2023-12-17
| | | | | | | | | | | | | * Only apply eslint rules to .test.js files * Fix tests * Use built-in environment * Fix tests * Optional file name * Remove environment
* Update pathstoasted-nutbread2023-11-30
|
* Update teststoasted-nutbread2023-11-29
|
* `yomichan` -> `yomitan`starxeras2023-11-10
|
* Switch to vitest for ESM support; other fixesDarius Jahandarie2023-11-08