1
0
mirror of synced 2025-12-23 11:54:18 -05:00

jest 28.1.1 (#28797)

* got 28.1.1

* wip

* force upgrade nth-check

* legacyFakeTimers
This commit is contained in:
Peter Bengtsson
2022-06-29 13:55:03 +02:00
committed by GitHub
parent 703f158662
commit ee1f20f4fb
14 changed files with 3358 additions and 2605 deletions

View File

@@ -19,7 +19,7 @@ import loadSiteData from '../../lib/site-data.js'
Some tests/unit/page.js tests also exercise the frontmatter validation.
*/
jest.useFakeTimers('legacy')
jest.useFakeTimers({ legacyFakeTimers: true })
const siteData = loadSiteData()
const featureVersions = Object.entries(siteData.en.site.data.features)