Skip to content

Commit

Permalink
fix: skipping quota tests for normal run
Browse files Browse the repository at this point in the history
  • Loading branch information
Monta authored and Monta committed Mar 14, 2024
1 parent e085a1b commit bf22d6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tdrive/backend/node/test/e2e/run-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ srcFiles = srcFiles.filter(p => p.indexOf(".spec.ts") >= 0 || p.indexOf(".test.t

for (const path of localDevTests || srcFiles) {
const test = path.split("test/e2e/")[1];
// skip the test if it's quota a quota test, it will be run separately
if (test.includes("quota")) {
console.log(`Skipping ${test}`);
continue;
}
const testName = `test/e2e/${test}`;
const args = `${testName} --forceExit --detectOpenHandles --coverage --coverageDirectory=coverage/e2e/${test} --runInBand --testTimeout=60000 --verbose=true`;

Expand Down

0 comments on commit bf22d6a

Please sign in to comment.