We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cea193 commit 7390846Copy full SHA for 7390846
tests/cli.test.ts
@@ -30,7 +30,7 @@ describe('TestingBotCTL CLI', () => {
30
31
jest
32
.spyOn(process, 'exit')
33
- .mockImplementation((code?: number | undefined) => {
+ .mockImplementation((code?: string | number | null) => {
34
throw new Error(`process.exit called with code: ${code}`);
35
});
36
@@ -170,7 +170,7 @@ describe('TestingBotCTL CLI', () => {
170
test('unknown command should show help', async () => {
171
const exitSpy = jest
172
173
174
175
176
0 commit comments