diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-06 19:43:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 19:43:53 -0400 |
commit | e88d63fc6d251bc298eb721fee1cbb9f5f4b752e (patch) | |
tree | f24b38bd421da53f84ab6b47ddff3c6492d44087 /test/test-anki-note-builder.js | |
parent | e15513208584764526e2348ca7796ea665925086 (diff) |
Template renderer media updates (#1802)
* Add TemplateRendererMediaProvider to abstract media-related functionality
* Update representation of injected media
* Update templates
* Update upgrade file
* Update tests
* Update test data
* Force media to be an object
* Update test data
Diffstat (limited to 'test/test-anki-note-builder.js')
-rw-r--r-- | test/test-anki-note-builder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-anki-note-builder.js b/test/test-anki-note-builder.js index 97489aa8..607388fc 100644 --- a/test/test-anki-note-builder.js +++ b/test/test-anki-note-builder.js @@ -46,6 +46,7 @@ async function createVM() { 'js/dom/css-style-applier.js', 'js/display/structured-content-generator.js', 'js/templates/template-renderer.js', + 'js/templates/template-renderer-media-provider.js', 'lib/handlebars.min.js' ]); @@ -228,7 +229,6 @@ async function getRenderResults(dictionaryEntries, type, mode, template, AnkiNot modelName: 'modelName', fields, tags: ['yomichan'], - injectedMedia: null, checkForDuplicates: true, duplicateScope: 'collection', resultOutputMode: mode, |