You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The asset file test/assets/test.js for the test test/config-third-party-extensions.js is missing a backslash. Indeed the file is
MathJax.Hub.Register.StartupHook("TeX Jax Ready", function () {
MathJax.InputJax.TeX.Definitions.Add({
macros: {
test: ["Macro", "\text{This is a Test}"]
}
});
});
MathJax.Ajax.loadComplete("[test]/test.js");
When it should be (\text -> \\text line 4):
MathJax.Hub.Register.StartupHook("TeX Jax Ready", function () {
MathJax.InputJax.TeX.Definitions.Add({
macros: {
test: ["Macro", "\\text{This is a Test}"]
}
});
});
MathJax.Ajax.loadComplete("[test]/test.js");
This shows that error checking is not enough for mathjax-node test covering: probably
one should compare data.mml and/or data.html to the expected values and not merely check data.errors.
The text was updated successfully, but these errors were encountered:
This shows that error checking is not enough for mathjax-node test covering: probably
one should compare data.mml and/or data.html to the expected values and not merely check data.errors.
I disagree. We don't test the behavior of the macro but the loading of an extension. In other words, the point of the test is that the macro can be used at all (as opposed to throwing an "unknown macro" error).
So fixing this typo would be nice but the test is ok as is, I think.
The asset file
test/assets/test.js
for the testtest/config-third-party-extensions.js
is missing a backslash. Indeed the file isWhen it should be (
\text
->\\text
line 4):This shows that error checking is not enough for mathjax-node test covering: probably
one should compare
data.mml
and/ordata.html
to the expected values and not merely checkdata.errors
.The text was updated successfully, but these errors were encountered: