Skip to content
Snippets Groups Projects
Commit 4f18ebf6 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix(test) Fix transaction-test.ts (remove old property 'received', and add new...

fix(test) Fix transaction-test.ts (remove old property 'received', and add new property 'writtenTime')
parent 8ef61d86
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,6 @@ describe("Testing transactions", function() {
await s1.expect('/tx/history/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo', (res:any) => {
res.should.have.property('pubkey').equal('DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo');
res.should.have.property('history').property('pending').length(1);
res.history.pending[0].should.have.property('received').be.a.Number;
});
await s1.commit({
time: now + 7220
......@@ -142,6 +141,7 @@ describe("Testing transactions", function() {
"0:SIG(0)"
],
"version": 10,
"writtenTime": 1490007210,
"written_block": 3
})
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment