Commit 37b34237 authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Benjamin Neff

Force jasmine fails on syntax errors

closes #7185
parent cdce2537
......@@ -3,6 +3,7 @@
## Refactor
* Use string-direction gem for rtl detection [#7181](https://github.com/diaspora/diaspora/pull/7181)
* Reduce i18n.load side effects [#7184](https://github.com/diaspora/diaspora/pull/7184)
* Force jasmine fails on syntax errors [#7185](https://github.com/diaspora/diaspora/pull/7185)
## Bug fixes
* Fix fetching comments after fetching likes [#7167](https://github.com/diaspora/diaspora/pull/7167)
......
window.onerror = function(errorMsg, url, lineNumber) {
describe("Test suite", function() {
it("shouldn't skip tests because of syntax errors", function() {
fail(errorMsg + " in file " + url + " in line " + lineNumber);
});
});
};
......@@ -53,6 +53,7 @@ helpers:
# - **/*[sS]pec.js
#
spec_files:
- onerror-fail.js
- "**/**/*[sS]pec.js"
# src_dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment