Skip to content

Commit 536e69f

Browse files
committed
[test] issue23.js: reset configuration
avoids configuration bleeding into other tests
1 parent f4aef85 commit 536e69f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/issue223.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,10 @@ tape('displayIndent:left in HTML output', function(t) {
3636
var result = element.style.marginLeft;
3737
t.ok((result === expected), 'style includes a margin');
3838
});
39+
// reset configuration
40+
mjAPI.typeset({
41+
math: ''
42+
}, function(){
43+
mjAPI.config({MathJax: {displayIndent: '0em'}});
44+
})
3945
});

0 commit comments

Comments
 (0)