mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 08:18:04 +00:00
test: include colocated cliproxy tests in buckets
This commit is contained in:
1 parent
de6bdde66b
commit
33a1553431
21 files changed
+56
-46
No files matched your search
@@ -32,6 +32,12 @@ describe('run-test-bucket', () => {
|
||||
expect(bucket.shouldForceSlow('tests/npm/cli.test.js')).toBe(true);
|
||||
});
|
||||
|
||||
test('discovers colocated backend tests under src', () => {
|
||||
const discovered = bucket.getDiscoveredTests();
|
||||
|
||||
expect(discovered).toContain('src/cliproxy/types/__tests__/types-backward-compat.test.ts');
|
||||
});
|
||||
|
||||
test('keeps dist-independent javascript tests in the fast bucket', () => {
|
||||
expect(bucket.shouldForceSlow('tests/unit/flag-parsing-simple.test.js')).toBe(false);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user