Skip to content

Commit

Permalink
add david's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Mar 2, 2023
1 parent 1a3a892 commit 848e582
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cli/src/lib/__tests__/updateCheck.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('Update is not available (1.0.0 -> 1.0.0)', () => {

afterEach(() => {
fs.__setMockFiles({})
jest.restoreAllMocks()
jest.clearAllMocks()
})

it('Produces the correct updateData.json file', async () => {
Expand Down Expand Up @@ -142,7 +142,7 @@ describe('Update is available (1.0.0 -> 2.0.0)', () => {

afterEach(() => {
fs.__setMockFiles({})
jest.restoreAllMocks()
jest.clearAllMocks()
})

it('Produces the correct updateData.json file', async () => {
Expand Down Expand Up @@ -217,7 +217,7 @@ describe('Update is available with rc tag (1.0.0-rc.1 -> 1.0.1-rc.58)', () => {

afterEach(() => {
fs.__setMockFiles({})
jest.restoreAllMocks()
jest.clearAllMocks()
})

it('Produces the correct updateData.json file', async () => {
Expand Down

0 comments on commit 848e582

Please sign in to comment.