Skip to content
Snippets Groups Projects
Commit 2b934b1f authored by Éloïs's avatar Éloïs
Browse files

[tests] trim version suffix

parent c02a1165
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
}))
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment