Commit 2b934b1f authored by Éloïs's avatar Éloïs

[tests] trim version suffix

parent c02a1165
......@@ -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]);
}))
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment