mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
fix
This commit is contained in:
parent
b7f8950b41
commit
8b418a50a8
@ -254,7 +254,6 @@ describe('Version', () => {
|
||||
await version({ releaseType, preId, exact, apply });
|
||||
expect(fsExtra.writeJson).toHaveBeenCalledTimes(apply ? 3 : 2);
|
||||
if (apply) {
|
||||
// eslint-disable-next-line jest/no-conditional-expect -- guarded against problems with the assertion above
|
||||
expect(fsExtra.writeJson).toHaveBeenCalledWith(
|
||||
CODE_PACKAGE_JSON_PATH,
|
||||
// this call is the write that removes the "deferredNextVersion" property
|
||||
|
Loading…
x
Reference in New Issue
Block a user