Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Switching to browser compatible .toArrayLike #691

Merged
merged 3 commits into from
Feb 12, 2020

Conversation

bradlhart
Copy link
Contributor

Change Description

Fixes #689

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

Adjusting tests to avoid duplicate transactions
@@ -6,7 +6,7 @@ describe('Node JS environment', () => {
let failedAsPlanned: boolean;

beforeEach(async () => {
await new Promise((resolve) => setTimeout(resolve, 500));
await new Promise((resolve) => setTimeout(resolve, 1500));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the need to increase timeouts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On second thought, we could possibly change the memo or quantity to avoid duplicate transaction more reliably and without additional time during tests.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So with it at 500ms, you were getting duplicate transactions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The web tests were getting duplicates at 1000ms, I increased that one and brought the node tests to the same amount. Can't recall if I also got duplicates in node with 500.

@bradlhart bradlhart force-pushed the bnjs-tobuffer-incompatible branch from 67f8327 to 6b0ea04 Compare February 12, 2020 14:36
@bradlhart bradlhart merged commit 28594c3 into develop Feb 12, 2020
@bradlhart bradlhart deleted the bnjs-tobuffer-incompatible branch February 12, 2020 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants