Skip to content

Commit

Permalink
test: fix incorrect version test
Browse files Browse the repository at this point in the history
Signed-of-by: Timo Glastra <timo@animo.id>
Co-authored-by: James Ebert <james@indicio.tech>

Co-authored-by: James Ebert  <JamesEbert.k@gmail.com>
  • Loading branch information
TimoGlastra and JamesKEbert authored Apr 15, 2022
1 parent c464dd3 commit 0db8629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/storage/migration/__tests__/version.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ describe('version', () => {
})

it('returns false if the major and minor version digit of both versions are equal', () => {
expect(isFirstVersionHigherThanSecond([1, 0], [1, 10])).toBe(false)
expect(isFirstVersionHigherThanSecond([2, 10], [2, 11])).toBe(false)
expect(isFirstVersionHigherThanSecond([1, 0], [1, 0])).toBe(false)
expect(isFirstVersionHigherThanSecond([2, 10], [2, 10])).toBe(false)
})
})
})

0 comments on commit 0db8629

Please sign in to comment.