summaryrefslogtreecommitdiff
path: root/test/anki-template-renderer.test.js
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-06-20 19:27:02 +0200
committerGitHub <noreply@github.com>2024-06-20 17:27:02 +0000
commitd2c930a94d6e445053bcb5e5bb629851165425fc (patch)
tree94ff7034e7d3ab36ed663f353aeb5486bd294d1c /test/anki-template-renderer.test.js
parent1a866b3997310a04fc146b91eb47a59a3f049589 (diff)
support css file in dictionaries (#1080)
* get styles in db * get styles in settings * use styles * fix test * scope * fix comma separated * escape dict name in css selector * g regex * get styles in anki * fix tests * more specificity * whitespace * test importing * test handlebars * add styles to glossary-first
Diffstat (limited to 'test/anki-template-renderer.test.js')
-rw-r--r--test/anki-template-renderer.test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/anki-template-renderer.test.js b/test/anki-template-renderer.test.js
index bf18dd0d..9c02998d 100644
--- a/test/anki-template-renderer.test.js
+++ b/test/anki-template-renderer.test.js
@@ -51,6 +51,7 @@ describe('AnkiTemplateRenderer', () => {
},
},
media: void 0,
+ dictionaryStylesMap: new Map(),
},
};
const testCases = [