when I require('xyz'); in my tests, then no tests are run, and no error message is displayed even with the -v option. Expected: An error message.
This seems to be erroring for me now -- Erik, can you confirm?
We should have a test for this.
Created attachment 793065 [details] GH PR 1213 Added tests for this use case, passes in both FF/Fennec -- also switched to new test format
Attachment #793065 - Flags: review?(evold)
Reimplemented the stacktrace tests for this, all passing
Comment on attachment 793065 [details] GH PR 1213 Nice!
Attachment #793065 - Flags: review?(evold) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/4771061cd6a123c887b3ba6fe10f661df67b88e8 Bug 782824 tests for modules that do not exist https://github.com/mozilla/addon-sdk/commit/43fc24f6884b862acd2e9bf2334054310d4df74e Merge pull request #1213 from jsantell/782824-tests-for-dne-modules Fix Bug 782824 tests for modules that do not exist, r=@erikvold
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.