Add a rule to disallow describe.only() and it.only() in tests

This commit is contained in:
Tim Schaub
2019-09-26 18:22:24 +02:00
parent b56c8b6630
commit 8253c646b3
2 changed files with 12 additions and 5 deletions
+7 -1
View File
@@ -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"
}
]
}
},