jest-expect-message icon indicating copy to clipboard operation
jest-expect-message copied to clipboard

Incorrect set up instructions on npmjs.com/package/jest-expect-message#setup

Open ataylorme opened this issue 4 years ago • 1 comments

Bug

  • package version: 1.0.2
  • node version: 12.4.0
  • npm (or yarn) 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

ataylorme avatar Jul 19 '19 17:07 ataylorme

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.

ataylorme avatar Jul 19 '19 17:07 ataylorme

Thanks for noticing this, npm docs have been updated as of: https://www.npmjs.com/package/jest-expect-message/v/1.0.4

mattphillips avatar Sep 08 '22 17:09 mattphillips