Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions ch1/1.2/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,9 @@ describe('Client Tests', () => {
// run the tests
beforeEach(() => {
tx = alice.generateTx(bob.wallet.address, 10, 'send');
unsigned = tx.contents;
});
it('should properly set contents', () => {
unsignedTx = {
type: 'send',
amount: 10,
from: alice.wallet.address,
to: bob.wallet.address,
};
assert.deepEqual(tx.contents, unsignedTx);
});
it('should properly sign the contents', () => {
Expand Down