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

Force jasmine fails on syntax errors

closes #7185
parent cdce2537
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+7 −0
Original line number Diff line number Diff line
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);
    });
  });
};
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ helpers:
#   - **/*[sS]pec.js
#
spec_files:
  - onerror-fail.js
  - "**/**/*[sS]pec.js"

# src_dir