Explorar o código

Use mocha environment and expect global to fix linting in tests

Alasdair Smith %!s(int64=8) %!d(string=hai) anos
pai
achega
4524b3c9f6
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      services/web/.eslintrc

+ 7 - 1
services/web/.eslintrc

@@ -1,3 +1,9 @@
 {
-  "extends": ["standard"]
+  "extends": ["standard"],
+  "env": {
+    "mocha": true
+  },
+  "globals": {
+    "expect": true
+  }
 }