Skip to content

Commit 9490496

Browse files
committed
fix: add missing createProgressBar to poll test mock
1 parent 8860500 commit 9490496

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/polling/poll.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import { describe, it, expect, mock, afterEach } from 'bun:test';
22
import type { Config } from '../../src/config/schema';
33

4-
// Silence the spinner — purely visual, no impact on logic
4+
// Silence the spinner — purely visual, no impact on logic.
5+
// Must re-export all symbols so other test files don't break.
56
mock.module('../../src/output/progress', () => ({
67
createSpinner: () => ({ start: () => {}, stop: () => {}, update: () => {} }),
8+
createProgressBar: () => ({ update: () => {}, finish: () => {} }),
79
}));
810

911
const baseConfig: Config = {

0 commit comments

Comments
 (0)