diff --git a/test/integration/forwarding.ts b/test/integration/forwarding.ts index d0d928ddf82dc9eb3410c37b3f00844e6530ea39..353670519fc0660a891789d4ff54a50d61e1a7db 100644 --- a/test/integration/forwarding.ts +++ b/test/integration/forwarding.ts @@ -84,7 +84,7 @@ describe("Forwarding", function() { should.exists(summary.duniter.software); should.exists(summary.duniter.version); assert.equal(summary.duniter.software, "duniter"); - assert.equal(summary.duniter.version, jspckg.version); + assert.equal(summary.duniter.version, jspckg.version.split("-")[0]); })) it('Node2 should be up and running', () => node2.expectThat('/node/summary', (summary:any) => { @@ -93,7 +93,7 @@ describe("Forwarding", function() { should.exists(summary.duniter.software); should.exists(summary.duniter.version); assert.equal(summary.duniter.software, "duniter"); - assert.equal(summary.duniter.version, jspckg.version); + assert.equal(summary.duniter.version, jspckg.version.split("-")[0]); })) });