mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 20:14:34 +00:00
fix(ci): keep fast bucket stable for commonjs tests
This commit is contained in:
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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user