You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
318 B
18 lines
318 B
var tape = require('tape');
|
|
var mjAPI = require("..//lib/mj-single.js");
|
|
|
|
tape('basic test: check MathJax core', function(t) {
|
|
t.plan(1);
|
|
|
|
var tex = '';
|
|
mjAPI.start();
|
|
|
|
mjAPI.typeset({
|
|
math: tex,
|
|
format: "TeX",
|
|
mml: true
|
|
}, function(data) {
|
|
t.ok(data.mml, 'MathJax core seems ok');
|
|
});
|
|
});
|