Elchi3 / mdn-doc-tests

:no_entry_sign: UNMAINTAINED :no_entry_sign: This used to check MDN docs against some tests and cleanup tasks while editing, but add-on SDK based add-ons are obsolete. Use https://github.com/mdn/doc-linter-webextension and https://github.com/mdn/doc-linter-rules instead.
Mozilla Public License 2.0
10 stars 8 forks source link

Test suite run after loading a page provides wrong results #220

Closed SebastianZ closed 7 years ago

SebastianZ commented 7 years ago

Directly after loading a page the test suite is run. Though this run causes an error and returns incorrect results.

Error shown in browser console:

Object { _errorType: "Error", message: "text.match(...) is null", fileName: "resource://gre/modules/commonjs/too…", lineNumber: 18, stack: "checkArticleLength@resource://gre/m…", name: "TypeError" } core.js:106

Sebastian

Elchi3 commented 7 years ago

Development continues as a WebExtension and the rules are developed in an own repository. Please file against https://github.com/mdn/doc-linter-webextension or https://github.com/mdn/doc-linter-rules if you encounter this again.