fix(ci): keep fast bucket stable for commonjs tests

This commit is contained in:
Tam Nhu Tran committed 2026-04-22 16:00:39 -04:00
1 parent 5af639ddf7
commit 6d4dcc1174
2 files changed
+15

No files matched your search

@@ -18,6 +18,10 @@ describe('run-test-bucket', () => {
expect(bucket.shouldForceSlow('tests/unit/flag-parsing-simple.test.js')).toBe(false);
});
test('keeps non-allowlisted javascript tests in the slow bucket', () => {
expect(bucket.shouldForceSlow('tests/unit/commands/persist-command.test.js')).toBe(true);
});
test('still forces dist-dependent tests into the slow bucket', () => {
expect(bucket.shouldForceSlow('tests/unit/config-dir-override.test.js')).toBe(true);
});