aboutsummaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/anki-template-renderer-test.js2
-rw-r--r--test/fixtures/dom-test.js6
-rw-r--r--test/fixtures/language-transformer-test.js2
-rw-r--r--test/fixtures/translator-test.js4
4 files changed, 7 insertions, 7 deletions
diff --git a/test/fixtures/anki-template-renderer-test.js b/test/fixtures/anki-template-renderer-test.js
index 1e3ec74e..1ad72d7f 100644
--- a/test/fixtures/anki-template-renderer-test.js
+++ b/test/fixtures/anki-template-renderer-test.js
@@ -38,7 +38,7 @@ export async function createAnkiTemplateRendererTest() {
// It is needed for DOM access for structured content.
void window;
await use(ankiTemplateRenderer);
- }
+ },
});
return result;
}
diff --git a/test/fixtures/dom-test.js b/test/fixtures/dom-test.js
index 364612f6..55353a5d 100644
--- a/test/fixtures/dom-test.js
+++ b/test/fixtures/dom-test.js
@@ -31,7 +31,7 @@ function prepareWindow(window) {
/** @returns {string} */
get() { return this.textContent; },
/** @param {string} value */
- set(value) { this.textContent = value; }
+ set(value) { this.textContent = value; },
});
// Placeholder for feature detection
@@ -51,7 +51,7 @@ export async function setupDomTest(htmlFilePath) {
prepareWindow(window);
return {
window,
- teardown: (global) => environment.teardown(global)
+ teardown: (global) => environment.teardown(global),
};
}
@@ -73,6 +73,6 @@ export function createDomTest(htmlFilePath) {
} finally {
await environment.teardown(global);
}
- }
+ },
});
}
diff --git a/test/fixtures/language-transformer-test.js b/test/fixtures/language-transformer-test.js
index 1701b4f9..69cdc230 100644
--- a/test/fixtures/language-transformer-test.js
+++ b/test/fixtures/language-transformer-test.js
@@ -48,7 +48,7 @@ function hasTermReasons(languageTransformer, source, expectedTerm, expectedCondi
return {
has: true,
reasons: trace.map((frame) => frame.transform),
- rules: conditions
+ rules: conditions,
};
}
}
diff --git a/test/fixtures/translator-test.js b/test/fixtures/translator-test.js
index 9f1e87df..5c024472 100644
--- a/test/fixtures/translator-test.js
+++ b/test/fixtures/translator-test.js
@@ -49,7 +49,7 @@ export async function createTranslatorContext(dictionaryDirectory, dictionaryNam
const {errors} = await dictionaryImporter.importDictionary(
dictionaryDatabase,
testDictionaryData,
- {prefixWildcardsSupported: true}
+ {prefixWildcardsSupported: true},
);
expect(errors.length).toEqual(0);
@@ -75,7 +75,7 @@ export async function createTranslatorTest(htmlFilePath, dictionaryDirectory, di
const result = test.extend({
window: async ({window}, use) => { await use(window); },
// eslint-disable-next-line no-empty-pattern
- translator: async ({}, use) => { await use(translator); }
+ translator: async ({}, use) => { await use(translator); },
});
return result;
}