summaryrefslogtreecommitdiff
path: root/test/anki-note-builder.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/anki-note-builder.test.js')
-rw-r--r--test/anki-note-builder.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/anki-note-builder.test.js b/test/anki-note-builder.test.js
index 6901dde9..42ee2290 100644
--- a/test/anki-note-builder.test.js
+++ b/test/anki-note-builder.test.js
@@ -53,7 +53,7 @@ async function fetch(url2) {
};
}
vi.stubGlobal('fetch', fetch);
-vi.mock('../ext/js/templates/template-renderer-proxy.js');
+vi.mock('../ext/js/templates/template-renderer-proxy.js', async () => await import('../test/mocks/template-renderer-proxy.js'));
/**
* @returns {Promise<TranslatorVM>}