Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Oct 30, 2023
1 parent 188d106 commit 6d83428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/release/__tests__/ensure-next-ahead.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as gitClient_ from '../utils/git-client';
import * as bumpVersion_ from '../version';

jest.mock('../utils/git-client', () => jest.requireActual('jest-mock-extended').mockDeep());
const gitClient = jest.mocked(gitClient_, true);
const gitClient = jest.mocked(gitClient_, { shallow: false });

// eslint-disable-next-line jest/no-mocks-import
jest.mock('fs-extra', () => require('../../../code/__mocks__/fs-extra'));
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/__tests__/label-patches.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jest.mock('../utils/get-github-info');
jest.mock('../utils/github-client');
jest.mock('../utils/git-client', () => jest.requireActual('jest-mock-extended').mockDeep());

const gitClient = jest.mocked(gitClient_, true);
const gitClient = jest.mocked(gitClient_, { shallow: false });
const github = jest.mocked(github_);
const githubInfo = jest.mocked(githubInfo_);

Expand Down

0 comments on commit 6d83428

Please sign in to comment.