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
Lint
Lint Not Applicable
Unit
Tests Not Applicable