mathjax-node
Version:
API's for calling MathJax from node.js
18 lines (13 loc) • 337 B
JavaScript
var tape = require('tape');
var mjAPI = require("../lib/main.js");
tape('mmlNode should not produce mml', function(t) {
t.plan(1);
var tex = 'x';
mjAPI.typeset({
math: tex,
format: "TeX",
mmlNode: true
}, function(data) {
t.ok(data.mml === undefined, 'mml not generated');
});
});