Fix DB setup in tests
MartinKolarik opened this issue · comments
Martin Kolárik commented
The tests must set up the expected DB state before running, not only in the CI as now, but also locally (from the node process). See https://github.com/jsdelivr/data.jsdelivr.com/blob/master/test/setup-db.js for a good example.