Add a rule to disallow describe.only() and it.only() in tests
This commit is contained in:
+7
-1
@@ -44,7 +44,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.4.0",
|
||||
"@babel/preset-env": "^7.4.4",
|
||||
"@openlayers/eslint-plugin": "^4.0.0-beta.2",
|
||||
"@openlayers/eslint-plugin": "^4.0.0",
|
||||
"@types/arcgis-rest-api": "^10.4.4",
|
||||
"@types/geojson": "^7946.0.7",
|
||||
"@types/pbf": "^3.0.1",
|
||||
@@ -116,6 +116,12 @@
|
||||
{
|
||||
"requireReturn": false
|
||||
}
|
||||
],
|
||||
"@openlayers/no-exclusive-tests": [
|
||||
"error",
|
||||
{
|
||||
"include": "test/**/*.test.js"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user