Skip to content

Commit

Permalink
feat: forbid ".only" from e2e-tests (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec authored Oct 13, 2023
1 parent 81340b1 commit d802216
Show file tree
Hide file tree
Showing 5 changed files with 280 additions and 274 deletions.
3 changes: 2 additions & 1 deletion e2e-tests/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ module.exports = {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["@typescript-eslint"],
plugins: ["@typescript-eslint", "mocha"],

// Add rule exceptions here if they are too onerous to comply with
rules: {
"@typescript-eslint/ban-ts-comment": "off",
"mocha/no-exclusive-tests": "error",
},
};
Binary file added e2e-tests/.yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions e2e-tests/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
1 change: 1 addition & 0 deletions e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"chai": "^4.3.7",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-mocha": "^10.2.0",
"ethers": "^5.7.2",
"hardhat": "^2.12.4",
"mocha": "^10.2.0",
Expand Down
Loading

0 comments on commit d802216

Please sign in to comment.