HomePhabricator

[Cashtab] Patch CI by including mock-chronik-client

Description

[Cashtab] Patch CI by including mock-chronik-client

Summary:
D17499 broke CI because it introduces a non-test typescript file that uses mock-chronik-client. imo it's important to have this file, which exports functions that will be used to support standardized test frameworks throughout the app. We should not be exporting functions from test files. So the test dir is appropriate for this.

Surprised builds didn't fail before without this dep. But makes sense as mock-chronik-client only used in test files as a dev dep (still just a dev dep), and ts ignores the test files.

Test Plan: docker build -f cashtab.Dockerfile -t cashtab_local .

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Fri, Jan 10, 04:54
bytesofmanPushed on Fri, Jan 10, 05:08
Reviewer
Restricted Project
Differential Revision
D17505: [Cashtab] Patch CI by including mock-chronik-client
Parents
rABC99e28f1ad460: [Cashtab] Lazy loading for agora
Branches
Unknown
Tags
Unknown