refactor: move mfrac test cases inside its describer
This commit is contained in:
parent
8a1de24a1c
commit
38fad7a173
|
@ -302,7 +302,6 @@ describe('#convert', () => {
|
||||||
expect(result).toMatch('\\frac{x}{3}');
|
expect(result).toMatch('\\frac{x}{3}');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
describe('containing multiple char contents', () => {
|
describe('containing multiple char contents', () => {
|
||||||
it('convert mfrac wrap inside \\frac command', () => {
|
it('convert mfrac wrap inside \\frac command', () => {
|
||||||
|
@ -322,6 +321,7 @@ describe('#convert', () => {
|
||||||
expect(result).toMatch('1/\\left(x^{3} + 3\\right)');
|
expect(result).toMatch('1/\\left(x^{3} + 3\\right)');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe('given math string with mroot containing two content', () => {
|
describe('given math string with mroot containing two content', () => {
|
||||||
it('convert mroot tag wrapping its contents inside \\sqrt command and root parameter', () => {
|
it('convert mroot tag wrapping its contents inside \\sqrt command and root parameter', () => {
|
||||||
|
|
Loading…
Reference in New Issue