Skip to content

Commit

Permalink
fix: getVersion test
Browse files Browse the repository at this point in the history
  • Loading branch information
janmazak committed Aug 10, 2022
1 parent 59fea13 commit 1f44903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@cardano-foundation/ledgerjs-hw-app-cardano",
"version": "5.1.0",
"version": "5.1.0-rc1",
"files": [
"dist"
],
Expand Down
5 changes: 3 additions & 2 deletions test/integration/getVersion.test.ts
Expand Up @@ -17,8 +17,8 @@ describe("getVersion", async () => {
it("Should correctly get the semantic version of device", async () => {
const { version, compatibility } = await ada.getVersion()

expect(version.major).to.equal(4)
expect(version.minor).to.equal(1)
expect(version.major).to.equal(5)
expect(version.minor).to.equal(0)
expect(compatibility).to.deep.equal({
isCompatible: true,
recommendedVersion: null,
Expand All @@ -32,6 +32,7 @@ describe("getVersion", async () => {
supportsNativeScriptHashDerivation: true,
supportsAlonzo: true,
supportsReqSignersInOrdinaryTx: true,
supportsBabbage: true,
})
})
})

0 comments on commit 1f44903

Please sign in to comment.