Page MenuHomePhabricator

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

Authored by bytesofman on Feb 22 2024, 12:40.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable