Page MenuHomePhabricator

[alias-server] Implement mock mongo db and test it
ClosedPublic

Authored by bytesofman on Apr 8 2023, 23:15.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC6e372f1a0fc2: [alias-server] Implement mock mongo db and test it
Summary

T3060

Depends on D13634

Get initial config correct for using an in-memory mongodb instance for later unit tests.

Note: Future diffs will introduce more sophisticated tests, even for initializeDb, this is a stub.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
implement-better-mocked-chronik-alias-server
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23124
Build 45868: Build Diffalias-server-tests
Build 45867: arc lint + arc unit

Event Timeline

backing out bug fix unrelated to this diff

This revision is now accepted and ready to land.Apr 9 2023, 09:24