HomePhabricator

[token-server] Improve organization of test files

Description

[token-server] Improve organization of test files

Summary:
The whole "recreate src dir structure in test dir" is actually pretty annoying.

Keep the test files next to the files they are testing. Keep the test dir around for test-related mocks and vectors. Update tsconfig.json so that we stop getting lint errors on the tests.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Fri, Nov 1, 23:19
bytesofmanPushed on Sun, Nov 3, 11:52
Reviewer
Restricted Project
Differential Revision
D17062: [token-server] Improve organization of test files
Parents
rABCbf00137a339a: [chronik] add scripthash option to the various script endpoints
Branches
Unknown
Tags
Unknown