Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse Jest for testing instead of tape #2858
Comments
zkochan
commented
Sep 14, 2020
•
|
|
Should it has a central config file which each package extend from ? |
|
A single config in the root would be perfect, if possible
Juan Picado <[email protected]> ezt írta (időpont: 2020. szept. 14.,
H 20:24):
… Should it has a central config file which each package extend from ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2858 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOWTG5WN3RYTXYT7JY55GLSFZGV7ANCNFSM4RL3RWLQ>
.
|
|
I'll give a try |
PR #2862 ref #2858 Co-authored-by: Zoltan Kochan <[email protected]>
|
My next after |
Migrated the following packages: @pnpm/list dependencies-hierarchy ref #2858
|
@zkochan some of the packages in the list do not have any test, what do we do ? |
|
delete or strikethrough |
|
Some of the projects have too many tests (like supi), so I suggest to convert them partially at the beginning. So part of the tests will run on jest and some will stay on tape during a transition period. |
|
@zkochan I updated the list, removed those do not contain |
* chore: lifecycle to jest
Added `.default` when asserting the async import of `output.json`.
When run via Jest, the import resolves to an object `{"0": "install",
default: ["install"]}`, when previously it resolved to `["install"]`.
* chore: link-bins to jest
Specific `testMatch` used to not include `.js` files within fixtures.
Removed unused `devDependencies`
ref #2858
PR #2907
* chore: manifest-utils to jest * chore: matcher to jest * chore: modules-yaml to jest * chore: npm-registry-agent to jest Replaced `proxyquire` with jest mocking Fixed `OPTS.strictSSL` fixture to be a boolean as that's what the agent's option type expects. `npm-registry-agent` self-links as a devDependency for importing PR #2913 ref #2858
* test: migrate pnpmfile to jest * test: migrate package-bins to jest * test: migrate outdated to jest * chore: fix manifest updater * test: remove redundant file PR #2953 ref #2858 Co-authored-by: Zoltan Kochan <[email protected]>

