watcher-ts/packages/uni-info-watcher/test
Ashwin Phatak 9e1ed70d18
Tests for getPrevEntityVersion (#217)
* Insert and remove a dummy BlockProgress from db.

* Test to fetch a Token entity from pruned region.

* Check if db is empty initially.

* Test to fetch a Token entity from frothy region.

* Test to fetch a Token from frothy region (same block num).

* Test to fetch a Token entity from another branch.

* Tests to fetch a Token entity (multiple tokens).

* Test to fetch updated Token entity in pruned region.

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2021-08-16 15:42:34 +05:30
..
queries.ts Add APGL license and copyright notices (#212) 2021-08-12 15:28:13 +05:30
test-db.ts Tests for getPrevEntityVersion (#217) 2021-08-16 15:42:34 +05:30
utils.ts Tests for getPrevEntityVersion (#217) 2021-08-16 15:42:34 +05:30