ianb / doctestjs

Javascript testing made easy and explicit
http://ianb.github.io/doctestjs/
MIT License
142 stars 10 forks source link

Catch and format parse errors #19

Open ianb opened 12 years ago

ianb commented 12 years ago

Since we already have two parsers built into doctest.js we should be able to catch syntax errors and display them nicely (highlighting the line).

Bonus points if we could check <script> files (especially if we detect some error that indicates a missing/failed script)