@spotify/prettier-config
Advanced tools
Changelog
13.0.0 (2022-03-21)
Changelog
12.0.0 (2021-09-22)
Changelog
11.0.0 (2021-07-16)
upgrade prettier from 2.2.x to 2.3.x
⚠️ jest v27: if you have tests using fake timers that break, jest.useFakeTimers('legacy')
might be the mitigation (See https://github.com/facebook/jest/issues/11521 for more deets)
⚠️ jest v27: default test environment was changed from "jsdom"
to "node"
for performance. if you are affected by this change because you use DOM APIs and do not have the test environment explicitly configured, you should be receiving an error when e.g. document
is accessed, and you can configure "testEnvironment": "jsdom"
or use per-file environment configuration to resolve this.
upgrade Jest from v26.x to v27.x
TL;DR --
"jsdom"
to "node"
for performancedone
test callback may not be called more than once,done
and returning a Promise may not be combined,describe
block must not return anything,jest-jasmine2
was replaced with jest-circus
For more breaking changes see: https://jestjs.io/blog/2021/05/25/jest-27
Changelog
10.0.0 (2021-04-14)