Files
pnpm/packages/link-bins/jest.config.js
Jason Staten ea5d706aaf test: migrate more tests to Jest
* 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
2020-10-02 20:52:10 +03:00

5 lines
171 B
JavaScript

const config = require('../../jest.config.js')
module.exports = Object.assign({}, config, {
// Shallow so fixtures aren't matched
testMatch: ["**/test/*.[jt]s?(x)"]
})