Tag : testing

Testing for exceptions with Jasmine

I just made a PR to the KaTeX library to help fix some cryptic error messages. To do this I had a few places raise exceptions early instead of propagating deeply into the code before breaking in strange places with cryptic error messages. The library can only deal with expressions that are strings so I