Skip to content

search: use RepoStore.Mock in repo resolver tests

Warren Gifford requested to merge k/mock-repo-store-resolver into k/mock-repo-store

Created by: keegancsmith

We stop using global mocks. Additionally because we now directly pass in a store, we don't need to pass in a DB. This avoid creating an unused database for the unit test, which on my computer speeds the test up from 1.5s to 0.5s.

Merge request reports

Loading