Skip to content

Commit 261f448

Browse files
committed
[test] css.js: check SVG output
1 parent 21ef765 commit 261f448

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/css.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var tape = require('tape');
22
var mjAPI = require("../lib/main.js");
33

44
tape('CSS output', function(t) {
5-
t.plan(2);
5+
t.plan(3);
66
mjAPI.start();
77
var tex = 'x';
88
mjAPI.typeset({
@@ -18,6 +18,7 @@ tape('CSS output', function(t) {
1818
css: true,
1919
svg: true
2020
}, function(data) {
21-
t.ok(data.css, 'css output with SVG output');
21+
t.ok(data.css, 'css output created alongside SVG output');
22+
t.ok(data.svg, 'svg output is created');
2223
});
2324
});

0 commit comments

Comments
 (0)