Explorar el Código

make tests pass for #335

Evan You hace 11 años
padre
commit
4bc12434f0
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 3 1
      test/.jshintrc
  2. 2 0
      test/unit/specs/utils.js

+ 3 - 1
test/.jshintrc

@@ -23,6 +23,8 @@
         "mockHTMLEvent": true,
         "mockMouseEvent": true,
         "mockKeyEvent": true,
-        "casper": true
+        "casper": true,
+        "beforeEach": true,
+        "afterEach": true
     }
 }

+ 2 - 0
test/unit/specs/utils.js

@@ -1,3 +1,5 @@
+/* global cleanupMocks, appendMock */
+
 describe('Utils', function () {
     afterEach(cleanupMocks)