aboutsummaryrefslogtreecommitdiff
path: root/test/language-transformer.test.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-16 19:33:24 -0500
committerGitHub <noreply@github.com>2024-02-17 00:33:24 +0000
commit1e69210b53151f31140bb1fbdc9f3d71fa181630 (patch)
treec8e824b531bf0fc46897ee7cf93fe375b5da946e /test/language-transformer.test.js
parent9432e4bb117869860db0aaa42a318fe73002d1c5 (diff)
Make vitests idiomatic (#677)
Diffstat (limited to 'test/language-transformer.test.js')
-rw-r--r--test/language-transformer.test.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/test/language-transformer.test.js b/test/language-transformer.test.js
index 857b5ed0..0c8ef08d 100644
--- a/test/language-transformer.test.js
+++ b/test/language-transformer.test.js
@@ -61,9 +61,7 @@ function hasTermReasons(languageTransformer, source, expectedTerm, expectedCondi
return {has: false, reasons: null, rules: null};
}
-
-/** */
-function testDeinflections() {
+describe('LanguageTransformer', () => {
/* eslint-disable @stylistic/no-multi-spaces */
const data = [
{
@@ -1172,12 +1170,4 @@ function testDeinflections() {
}
});
});
-}
-
-
-/** */
-function main() {
- testDeinflections();
-}
-
-main();
+});