Merge pull request #1644 from kaitranntt/kai/fix/fast-bucket-bar-isolation

fix(ci): isolate Bar command fast tests
This commit is contained in:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-07-18 17:54:13 -04:00
commit 4998153205
2 files changed
+3

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ const slowTests = [
const fastJsTests = new Set(['tests/unit/flag-parsing-simple.test.js']);
const isolatedTests = new Set([
'tests/unit/commands/bar-command.test.ts',
'tests/unit/targets/codex-adapter-exec.test.ts',
'tests/unit/targets/codex-adapter.test.ts',
'tests/unit/targets/droid-adapter.test.ts',
@@ -87,11 +87,13 @@ describe('run-test-bucket', () => {
test('isolates known sticky mock suites outside src', () => {
const runs = bucket.getBunRuns('fast', [
'tests/unit/scripts/run-test-bucket.test.js',
'tests/unit/commands/bar-command.test.ts',
'tests/unit/targets/target-registry.test.ts',
]);
expect(runs.map((run) => run.label)).toEqual([
'shared',
'tests/unit/commands/bar-command.test.ts',
'tests/unit/targets/target-registry.test.ts',
]);
});