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.
19 lines
360 B
19 lines
360 B
var tape = require('tape');
|
|
var mjAPI = require("..//lib/mj-single.js");
|
|
|
|
tape('basic test: check speechruleengine', function(t) {
|
|
t.plan(1);
|
|
|
|
var tex = 'MathJax';
|
|
mjAPI.start();
|
|
|
|
mjAPI.typeset({
|
|
math: tex,
|
|
format: "TeX",
|
|
mml: true,
|
|
speakText: true
|
|
}, function(data) {
|
|
t.ok(data.speakText, 'speechruleengine seems ok');
|
|
});
|
|
});
|