seek-oss-ci
released this
30 Jul 00:44
·
38 commits
to master
since this release
Patch Changes
-
Replace
sku/config/jest
entrypoint withsku/jest-preset
(#1024)BREAKING CHANGE FOR CUSTOM JEST CONFIG:
This breaking change will only affect a very small number of projects that have a custom Jest configuration/wish to debug tests in their IDE, and it is intended to be a quick fix/improvement for a feature released in
[email protected]
. Therefore, it's not being released as a major version.The
sku/config/jest
entrypoint has been removed in favor of a newsku/jest-preset
entrypoint. Thesku/jest-preset
module is a better way to expose a jest preset, rather than a relative path (the previous implementation), as it works even ifsku
is hoisted to a parentnode_modules
directory.MIGRATION GUIDE:
// jest.config.js - const { preset } = require('sku/config/jest'); /** @type {import('jest').Config} */ module.exports = { // If you've already migrated to sku v13 - preset, // If you're still on sku v12.x - preset: 'sku/config/jest', + preset: 'sku', };