|
|
@@ -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 {
|