Skip to content

Commit 4fb4e24

Browse files
Add new test case
1 parent 327209c commit 4fb4e24

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,14 @@ describe('MathJax', () => {
3434
it('macro', () => {
3535
mathjax(`${macros}`).should.not.include('fill="red"');
3636
});
37+
38+
it('cjk', () => {
39+
mathjax(`$$\\mu(n)=
40+
\\begin{cases}
41+
1 & n是偶数个不同的素数相乘\\\\
42+
-1 & n是奇数个不同的素数相乘\\\\
43+
0 & n被某个素数的平方整除
44+
\\end{cases}
45+
$$`).should.include('svg');
46+
});
3747
});

0 commit comments

Comments
 (0)