Don't run worst case test on GitHub Actions (#3688)

* Don't run worst case test on GitHub Actions

* Deprecate jest
This commit is contained in:
Louis Lam
2023-09-05 02:08:18 +08:00
committed by GitHub
parent 9c61247162
commit 33f7448048
3 changed files with 49 additions and 0 deletions

View File

@@ -368,6 +368,12 @@ function memoryUsage() {
}
test("Worst case", async (t) => {
// Disable on GitHub Actions, as it is not stable on it
if (process.env.GITHUB_ACTIONS) {
return;
}
console.log("Memory usage before preparation", memoryUsage());
let c = new UptimeCalculator();