Skip to content

Commit

Permalink
add back david's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Mar 2, 2023
1 parent 116d01a commit 9c33e0b
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 9c33e0b

Please sign in to comment.