Skip to content

Commit

Permalink
ci: don't run expensive map property tests on macOS (#1732)
Browse files Browse the repository at this point in the history
also, don't run getter tests since those too cause time-outs
  • Loading branch information
i582 authored Feb 7, 2025
1 parent 01428c1 commit 460d733
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jest-ci.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
const mainConfig = require("./jest.config");

const testPathIgnorePatterns =
process.platform === "darwin" // due to limited resources we do not want to run e2e tests for the maps
? [
...(mainConfig.testPathIgnorePatterns || []),
"src/test/e2e-emulated/map-tests/build/*",
"src/test/e2e-emulated/getters.spec.ts",
]
: mainConfig.testPathIgnorePatterns;

module.exports = {
...mainConfig,
testPathIgnorePatterns,
maxWorkers: "2",
};

0 comments on commit 460d733

Please sign in to comment.