mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Fix test failure
This commit is contained in:
parent
b973a49f4e
commit
bd55e2b481
@ -65,7 +65,7 @@ describe('when command fails', () => {
|
||||
withTelemetry('dev', { cliOptions: { disableTelemetry: true } }, run)
|
||||
).rejects.toThrow(error);
|
||||
|
||||
expect(telemetry).toHaveBeenCalledTimes(1);
|
||||
expect(telemetry).toHaveBeenCalledTimes(0);
|
||||
expect(telemetry).not.toHaveBeenCalledWith(
|
||||
'error',
|
||||
{ eventType: 'dev', error },
|
||||
|
Loading…
x
Reference in New Issue
Block a user