Skip to content

Commit

Permalink
Update test/unit/server_async_transaction.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: George <[email protected]>
  • Loading branch information
aditya1702 and Shaptic committed Jun 17, 2024
1 parent 9764698 commit 2ca990d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/unit/server_async_transaction.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ describe("server.js async transaction submission tests", function () {

this.server
.submitAsyncTransaction(this.transaction, { skipMemoRequiredCheck: true })
.then(function () {
done();
})
.catch(function (err) {
done(err);
});
.then(() => done())
.catch((err) => done(err));
});
it("sends an async transaction and gets a PENDING response", function (done) {
const response = {
Expand Down

0 comments on commit 2ca990d

Please sign in to comment.