mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-06-27 16:10:13 +08:00
moment-2.8 compatibility, automated tests, suppress warnings
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user