HomePhabricator

[Cashtab] Pass localforage as a param in cashtab test initializer function

Description

[Cashtab] Pass localforage as a param in cashtab test initializer function

Summary:
localforage is failing to clear properly across tests as it is initializing different instances in test file and helper function.

pass as a param so we have one instance that is easily cleared between tests

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D15514

Details

Provenance
bytesofmanAuthored on Feb 22 2024, 12:39
bytesofmanPushed on Feb 22 2024, 14:15
Reviewer
Restricted Project
Differential Revision
D15514: [Cashtab] Pass localforage as a param in cashtab test initializer function
Parents
rABCd8bddc7c3fcf: [Cashtab] Upgrade SLPv1 genesis txs
Branches
Unknown
Tags
Unknown