Skip to content

Commit 20f4674

Browse files
authored
Merge pull request #1120 from mathjax/tests/configuration_loading
Tests cleanup after AllPackage removal.
2 parents 5ed95c0 + d8247b4 commit 20f4674

22 files changed

+1724
-1713
lines changed

testsuite/src/setupTex.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {liteAdaptor} from '#js/adaptors/liteAdaptor';
44
import {STATE} from '#js/core/MathItem';
55
import {SerializedMmlVisitor} from '#js/core/MmlTree/SerializedMmlVisitor';
66
import {MmlNode} from '#js/core/MmlTree/MmlNode';
7-
import '#js/input/tex/AllPackages';
87

98
let convert: (tex: string) => string;
109

testsuite/tests/input/tex/Action.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { beforeEach, describe, it } from '@jest/globals';
22
import { toXmlMatch, setupTex, tex2mml } from '#helpers';
3+
import '#js/input/tex/action/ActionConfiguration';
34

45
beforeEach(() => setupTex(['base', 'action']));
56

testsuite/tests/input/tex/Ams.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { beforeEach, describe, it } from '@jest/globals';
22
import { toXmlMatch, setupTex, tex2mml } from '#helpers';
3+
import '#js/input/tex/ams/AmsConfiguration';
34

45
beforeEach(() => setupTex(['ams', 'base']));
56

testsuite/tests/input/tex/Amscd.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { beforeEach, describe, it } from '@jest/globals';
22
import { toXmlMatch, setupTex, tex2mml } from '#helpers';
3+
import '#js/input/tex/amscd/AmsCdConfiguration';
34

45
beforeEach(() => setupTex(['base', 'amscd']));
56

testsuite/tests/input/tex/Bbox.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { beforeEach, describe, it } from '@jest/globals';
22
import { toXmlMatch, setupTex, tex2mml } from '#helpers';
3+
import '#js/input/tex/bbox/BboxConfiguration';
34

45
beforeEach(() => setupTex(['base', 'bbox']));
56

testsuite/tests/input/tex/Boldsymbol.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { beforeEach, describe, it } from '@jest/globals';
22
import { toXmlMatch, setupTex, tex2mml } from '#helpers';
3+
import '#js/input/tex/boldsymbol/BoldsymbolConfiguration';
34

45
beforeEach(() => setupTex(['base', 'boldsymbol']));
56

testsuite/tests/input/tex/Braket.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { beforeEach, describe, it } from '@jest/globals';
22
import { toXmlMatch, setupTex, tex2mml } from '#helpers';
3+
import '#js/input/tex/braket/BraketConfiguration';
34

45
beforeEach(() => setupTex(['base', 'braket']));
56

0 commit comments

Comments
 (0)