Commit Graph

13 Commits

Author SHA1 Message Date
Zoltan Kochan
7b9a7f63c5 refactor: test utils 2020-12-11 02:06:44 +02:00
Zoltan Kochan
725351434d test: finish migration to Jest
close #2858
2020-12-11 00:22:17 +02:00
Zoltan Kochan
514cf2ee62 test: use Jest to test plugin-commands-installation
ref #2858
PR #2956
2020-10-29 01:34:11 +02:00
Zoltan Kochan
acc1782c6f style: restrict template expressions 2020-08-27 00:57:58 +03:00
Zoltan Kochan
5322cf9b39 style: use nullish coalescing 2020-08-26 01:15:47 +03:00
Zoltan Kochan
1c8a02e996 style: use eslint instead of tslint
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
9596774f2a perf: reduce directory nesting in the store
Store the package index files in the CAFS.

ref #2521
PR #2527
2020-05-04 23:36:14 +03:00
Zoltan Kochan
b6a82072ea feat!: using a content-addressable filesystem
ref #2470

BREAKING CHANGE:

New global store structure
2020-04-26 15:40:03 +03:00
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