Skip to content

Commit

Permalink
fix global hooks filter
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrowDom committed May 7, 2024
1 parent ce2ec63 commit 97e38ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/test/_global-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ mocha.before(function () {
// For fork tests, scrape out all unit tests.
root.suites = root.suites.filter(
(s) =>
s.file.endsWith(".fork-test.js") == isForkTest ||
s.file.endsWith(".holesky-fork-test.js") == isHoleskyFork ||
s.file.endsWith(".arb.fork-test.js") == isArbFork
(s.file.endsWith(".fork-test.js") && isForkTest) ||
(s.file.endsWith(".holesky-fork-test.js") && isHoleskyFork) ||
(s.file.endsWith(".arb.fork-test.js") && isArbFork)
);

if (!runTestsParallely) {
Expand Down

0 comments on commit 97e38ec

Please sign in to comment.