Page MenuHomePhabricator

[token-server] Improve organization of test files
ClosedPublic

Authored by bytesofman on Fri, Nov 1, 23:20.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC1fed704a0a8d: [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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
better-test-org
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30970
Build 61443: Build Difftoken-server-tests
Build 61442: arc lint + arc unit