jest-expect-message
jest-expect-message copied to clipboard
Incorrect set up instructions on npmjs.com/package/jest-expect-message#setup
Bug
-
package
version:1.0.2
-
node
version:12.4.0
-
npm
(oryarn
) version:6.9.0
Relevant code or config
"jest": {
"setupTestFrameworkScriptFile": "jest-expect-message"
}
What you did:
Installed and configured jest-expect-message
according to the set up instructions on npmjs.com
What happened:
Jest threw a deprecation warning about setupTestFrameworkScriptFile
.
Deprecation Warning:
Option "setupTestFrameworkScriptFile" was replaced by configuration "setupFilesAfterEnv", which supports multiple paths.
Please update your configuration.
Configuration Documentation:
https://jestjs.io/docs/configuration.html
I was able to resolve this quickly and the README has the correct information it is just the npm page that is out of date.
Thanks for noticing this, npm docs have been updated as of: https://www.npmjs.com/package/jest-expect-message/v/1.0.4