diff --git a/tests/lib/jasmine-ext.js b/tests/lib/jasmine-ext.js index 25ecbcd..4a2d991 100644 --- a/tests/lib/jasmine-ext.js +++ b/tests/lib/jasmine-ext.js @@ -1,6 +1,12 @@ beforeEach(function() { + // don't show warnings about deprecated methods like `moment.lang`, etc. + // at some point we'll require moment version above 2.8. + // until then, it's too annoying to support two versions. + // (not the best place for this) + moment.suppressDeprecationWarnings = true; + jasmine.addMatchers({ toEqualMoment: function() { return {