Commit Graph

4 Commits

Author SHA1 Message Date
Zoltan Kochan
4fde7a858f test: use custom ports for the registry mocks
ref #2119
PR #2123
2019-10-28 11:29:36 +02:00
ExE Boss
844a85efc7 test(assert‑project): add Project interface type definition
PR #2022
2019-09-21 20:31:22 +03:00
Tejasvi (Teju) Nareddy
2bf7c0d333 test(supi): abstract store assertions via assert-store
* chore(assert-store): introduce return types and getStorePath

Add return types to pre-existing methods
Introduce function to get store path, simplifying logic in assert-project later

* chore(assert-project): abstract store assertions via assert-store

Cache entire store object instead of just the store path
Store-related calls in assert-project are run against assert-store

* test(supi): call assert-store for store assertions

Test cases where `pnpm install` is not called do not have a valid project
Use assert-store directly for store assertions

* test(supi): abstract store assertions with assert-store

Replace direct store checking (via path-exists) with assert-store

* fix: storeHasNot() when store does not exist

* refactor: remove getStorePath from assert-store

PR #1560
2018-12-15 18:20:26 +02:00
Tejasvi (Teju) Nareddy
2ce8f851b0 chore(assert-store): create new private package @pnpm/assert-store
Add new module to test pnpm stores
Add a test directory

PR #1536
2018-12-07 22:28:42 +02:00