Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 280d65f

Browse files
chore: wip
1 parent a54bd24 commit 280d65f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

packages/ts/test/index.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, mock, setSystemTime, spyOn } from 'bun:test'
2-
import { EventEmitter, Readable, Writable } from 'node:stream'
2+
import { EventEmitter } from 'node:events'
3+
import { Readable, Writable } from 'node:stream'
34
import colors from 'picocolors'
45
import * as prompts from '../src/prompts'
56
import { isCancel } from '../src/utils/index'

packages/ts/test/prompts/progress-bar.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ProgressOptions } from '../../src/prompts/progress-bar'
22
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, setSystemTime, spyOn, test } from 'bun:test'
3+
import { EventEmitter } from 'node:events'
34
import process from 'node:process'
4-
import { EventEmitter } from 'node:stream'
55
import * as prompts from '../../src'
66
import { progress } from '../../src/prompts/progress-bar'
77
import { MockWritable } from '../utils'

packages/ts/test/prompts/spinner.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, jest, setSystemTime, spyOn, test } from 'bun:test'
2+
import { EventEmitter } from 'node:events'
23
import process from 'node:process'
3-
import { EventEmitter } from 'node:stream'
44
import * as prompts from '../../src'
55
import { spinner } from '../../src/prompts/spinner'
66
import { MockWritable } from '../utils'

0 commit comments

Comments
 (0)