From f88836285adc5a509644d210c07b0885a0794f2b Mon Sep 17 00:00:00 2001 From: Johannes Klein Agents Date: Sun, 15 Nov 2026 01:24:13 +0100 Subject: [PATCH] Type-check test files with Jest types Install @types/jest so test files see Jest globals. Fifteen test files now type-check without a header; the remaining ones keep @ts-nocheck, reworded to the real reason: untyped test doubles and window.rendererBridge. Drops the two App.test.js baseline lines. Co-Authored-By: Claude Opus 5.5 --- package.json | 1 + scripts/typecheck-baseline.txt | 2 -- src/app/bootstrap.test.js | 2 +- src/app/components/ErrorDialog.test.js | 2 +- src/app/droppedFile.test.js | 2 +- src/app/paths.test.js | 1 - src/app/report.test.js | 1 - src/app/store/astral.test.js | 2 +- src/app/store/cancelRun.test.js | 2 +- src/app/store/checkOutputName.test.js | 2 +- src/app/store/darkMode.test.js | 2 +- src/app/store/host.test.js | 2 +- src/app/store/loadAlignment.test.js | 2 +- src/app/store/loadAstralTree.test.js | 2 +- src/app/store/loadPartitionFile.test.js | 2 +- src/app/store/loadTree.test.js | 2 +- src/app/store/menu.test.js | 2 +- src/app/store/modelSelection.test.js | 2 +- src/app/store/openPath.test.js | 2 +- src/app/store/parseAlignment.test.js | 2 +- src/app/store/provideStateReport.test.js | 2 +- src/app/store/readText.test.js | 2 +- src/app/store/selectOutputDir.test.js | 2 +- src/app/store/showItemInFolder.test.js | 2 +- src/app/store/startRun.test.js | 2 +- src/app/store/version.test.js | 2 +- src/app/store/writeConcatenatedAlignment.test.js | 2 +- src/app/unhandledError.test.js | 2 +- src/main/cancelRun.test.js | 2 +- src/main/checkOutput.test.js | 1 - src/main/debugInfo.test.js | 1 - src/main/getActiveState.test.js | 2 +- src/main/pageWindowPreferences.test.js | 1 - src/main/parseAlignment.test.js | 1 - src/main/selectAlignment.test.js | 1 - src/main/selectAstralFile.test.js | 1 - src/main/selectOutputDir.test.js | 1 - src/main/selectPartitionFile.test.js | 1 - src/main/selectTree.test.js | 1 - src/main/updates.test.js | 2 +- src/pageNodeImports.test.js | 1 - src/preload.test.js | 1 - src/sourceMaps.test.js | 1 - src/typecheckBaseline.test.js | 1 - yarn.lock | 12 ++++++++++-- 45 files changed, 38 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index d8bad7c8..ce17e7c8 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,7 @@ "@electron/notarize": "^3.1.2", "@sentry/bundler-plugins": "11.12.0", "@sentry/cli": "^3.8.2", + "@types/jest": "27.5.2", "@types/node": "^22.19.1", "@types/prismjs": "^1.26.5", "@types/react": "^19.2.7", diff --git a/scripts/typecheck-baseline.txt b/scripts/typecheck-baseline.txt index d3526632..433909ce 100644 --- a/scripts/typecheck-baseline.txt +++ b/scripts/typecheck-baseline.txt @@ -6,8 +6,6 @@ src/app/App.js(322,24): error TS2769: No overload matches this call. Property 'title' does not exist on type 'IntrinsicAttributes & SvgIconOwnProps & CommonProps & Omit, "fontSize" | ... 10 more ... | "titleAccess">'. src/app/App.js(466,12): error TS2739: Type '{ error: any; onClose: any; }' is missing the following properties from type '{ error: any; onClose: any; needReload: any; title: any; }': needReload, title src/app/App.js(512,10): error TS2741: Property 'needReload' is missing in type '{ error: any; title: any; onClose: () => void; }' but required in type '{ error: any; onClose: any; needReload: any; title: any; }'. -src/app/App.test.js(5,1): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`. -src/app/App.test.js(13,3): error TS2304: Cannot find name 'expect'. src/app/store/Alignment.js(27,5): error TS2554: Expected 5-6 arguments, but got 3. src/app/store/Alignment.js(54,5): error TS2554: Expected 5-6 arguments, but got 3. src/app/store/Alignment.js(138,5): error TS2554: Expected 5-6 arguments, but got 3. diff --git a/src/app/bootstrap.test.js b/src/app/bootstrap.test.js index b0756600..1470b71c 100644 --- a/src/app/bootstrap.test.js +++ b/src/app/bootstrap.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. function loadBootstrap( nodeEnv ) { const previousEnv = process.env.NODE_ENV; diff --git a/src/app/components/ErrorDialog.test.js b/src/app/components/ErrorDialog.test.js index e0980dfe..6e3ab6fc 100644 --- a/src/app/components/ErrorDialog.test.js +++ b/src/app/components/ErrorDialog.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import React, { act } from 'react'; import { createRoot } from 'react-dom/client'; import ErrorDialog from './ErrorDialog'; diff --git a/src/app/droppedFile.test.js b/src/app/droppedFile.test.js index 9b1be6ed..3136b9d3 100644 --- a/src/app/droppedFile.test.js +++ b/src/app/droppedFile.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import React, { act } from 'react'; import { createRoot } from 'react-dom/client'; import { ThemeProvider } from '@mui/material/styles'; diff --git a/src/app/paths.test.js b/src/app/paths.test.js index 34b53d54..f5f342f6 100644 --- a/src/app/paths.test.js +++ b/src/app/paths.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import { base, basename, dir, join, name, quote, } from './paths'; diff --git a/src/app/report.test.js b/src/app/report.test.js index 379a792d..4fd3bc79 100644 --- a/src/app/report.test.js +++ b/src/app/report.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import { cleanStack, serializeAndCleanError } from './report'; it( 'drops node and electron frames from a stack', () => { diff --git a/src/app/store/astral.test.js b/src/app/store/astral.test.js index bf7b84c8..3e181dad 100644 --- a/src/app/store/astral.test.js +++ b/src/app/store/astral.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; import { runEvents } from './StoreBase'; diff --git a/src/app/store/cancelRun.test.js b/src/app/store/cancelRun.test.js index 292c136c..5f9afb0d 100644 --- a/src/app/store/cancelRun.test.js +++ b/src/app/store/cancelRun.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import fs from 'fs'; import os from 'os'; import path from 'path'; diff --git a/src/app/store/checkOutputName.test.js b/src/app/store/checkOutputName.test.js index 2d6327a8..451fbcd1 100644 --- a/src/app/store/checkOutputName.test.js +++ b/src/app/store/checkOutputName.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import { when } from 'mobx'; import Run from './Run'; diff --git a/src/app/store/darkMode.test.js b/src/app/store/darkMode.test.js index 24bffd1d..42b99bf6 100644 --- a/src/app/store/darkMode.test.js +++ b/src/app/store/darkMode.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import { act } from 'react'; import Config from './Config'; diff --git a/src/app/store/host.test.js b/src/app/store/host.test.js index 46f15a8f..afcc8f9c 100644 --- a/src/app/store/host.test.js +++ b/src/app/store/host.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. function install( host ) { let reads = 0; diff --git a/src/app/store/loadAlignment.test.js b/src/app/store/loadAlignment.test.js index 719300da..2fac0b54 100644 --- a/src/app/store/loadAlignment.test.js +++ b/src/app/store/loadAlignment.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; const stayParsed = async () => ( { diff --git a/src/app/store/loadAstralTree.test.js b/src/app/store/loadAstralTree.test.js index 60f40667..d5771bf6 100644 --- a/src/app/store/loadAstralTree.test.js +++ b/src/app/store/loadAstralTree.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; it( 'the ASTRAL file picker adds the chosen file', async () => { diff --git a/src/app/store/loadPartitionFile.test.js b/src/app/store/loadPartitionFile.test.js index 6d44d587..f6c2b2b9 100644 --- a/src/app/store/loadPartitionFile.test.js +++ b/src/app/store/loadPartitionFile.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; it( 'the partition picker uses the chosen file', async () => { diff --git a/src/app/store/loadTree.test.js b/src/app/store/loadTree.test.js index 430751ee..a925ce35 100644 --- a/src/app/store/loadTree.test.js +++ b/src/app/store/loadTree.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; it( 'each tree picker keeps the chosen file', async () => { diff --git a/src/app/store/menu.test.js b/src/app/store/menu.test.js index a7f0dbed..098850d4 100644 --- a/src/app/store/menu.test.js +++ b/src/app/store/menu.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import RunList from './RunList'; function bridge() { diff --git a/src/app/store/modelSelection.test.js b/src/app/store/modelSelection.test.js index 6194defb..638b5445 100644 --- a/src/app/store/modelSelection.test.js +++ b/src/app/store/modelSelection.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; import { runEvents } from './StoreBase'; diff --git a/src/app/store/openPath.test.js b/src/app/store/openPath.test.js index dd704614..f6f84939 100644 --- a/src/app/store/openPath.test.js +++ b/src/app/store/openPath.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; it( 'opens a result file through the renderer bridge', async () => { diff --git a/src/app/store/parseAlignment.test.js b/src/app/store/parseAlignment.test.js index 04c8a02c..4fafe26e 100644 --- a/src/app/store/parseAlignment.test.js +++ b/src/app/store/parseAlignment.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; const alignment = { diff --git a/src/app/store/provideStateReport.test.js b/src/app/store/provideStateReport.test.js index a59f9c36..ec51127a 100644 --- a/src/app/store/provideStateReport.test.js +++ b/src/app/store/provideStateReport.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. it( 'provideStateReport registers the store report once', () => { const provideStateReport = jest.fn(); diff --git a/src/app/store/readText.test.js b/src/app/store/readText.test.js index ec8dba01..67702ba2 100644 --- a/src/app/store/readText.test.js +++ b/src/app/store/readText.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; it( 'reads a text file through the renderer bridge', async () => { diff --git a/src/app/store/selectOutputDir.test.js b/src/app/store/selectOutputDir.test.js index 794d699e..4d85b734 100644 --- a/src/app/store/selectOutputDir.test.js +++ b/src/app/store/selectOutputDir.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; it( 'the output-directory picker sets the chosen directory', async () => { diff --git a/src/app/store/showItemInFolder.test.js b/src/app/store/showItemInFolder.test.js index ffa6a094..b0fe0439 100644 --- a/src/app/store/showItemInFolder.test.js +++ b/src/app/store/showItemInFolder.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import InputFile from './InputFile'; import Run from './Run'; diff --git a/src/app/store/startRun.test.js b/src/app/store/startRun.test.js index 95ed6cff..e0f258bc 100644 --- a/src/app/store/startRun.test.js +++ b/src/app/store/startRun.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import fs from 'fs'; import os from 'os'; import path from 'path'; diff --git a/src/app/store/version.test.js b/src/app/store/version.test.js index 2a1a3f86..77ccb299 100644 --- a/src/app/store/version.test.js +++ b/src/app/store/version.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import AppStore from './AppStore'; it( 'the page learns the app version from getVersion', async () => { diff --git a/src/app/store/writeConcatenatedAlignment.test.js b/src/app/store/writeConcatenatedAlignment.test.js index f06655ea..2e759e4e 100644 --- a/src/app/store/writeConcatenatedAlignment.test.js +++ b/src/app/store/writeConcatenatedAlignment.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import Run from './Run'; it( 'writes one concatenated FASTA', async () => { diff --git a/src/app/unhandledError.test.js b/src/app/unhandledError.test.js index 05c62659..22d29a53 100644 --- a/src/app/unhandledError.test.js +++ b/src/app/unhandledError.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import React, { act } from 'react'; import { createRoot } from 'react-dom/client'; import Page from './index'; diff --git a/src/main/cancelRun.test.js b/src/main/cancelRun.test.js index 6286501a..4d25d4fc 100644 --- a/src/main/cancelRun.test.js +++ b/src/main/cancelRun.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import { spawn } from 'child_process'; import { once } from 'events'; import fs from 'fs'; diff --git a/src/main/checkOutput.test.js b/src/main/checkOutput.test.js index 186603bc..76e38bde 100644 --- a/src/main/checkOutput.test.js +++ b/src/main/checkOutput.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import fs from 'fs'; import os from 'os'; import path from 'path'; diff --git a/src/main/debugInfo.test.js b/src/main/debugInfo.test.js index 05c048ed..d4970467 100644 --- a/src/main/debugInfo.test.js +++ b/src/main/debugInfo.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import { debugInfo } from './debugInfo'; it( 'debugInfo includes the app name and version, the Electron version, the platform, the OS release, and the locale', () => { diff --git a/src/main/getActiveState.test.js b/src/main/getActiveState.test.js index ff7e1bef..8b78777e 100644 --- a/src/main/getActiveState.test.js +++ b/src/main/getActiveState.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. const mockSend = jest.fn(); const mockOn = jest.fn(); diff --git a/src/main/pageWindowPreferences.test.js b/src/main/pageWindowPreferences.test.js index f3477921..aa910b21 100644 --- a/src/main/pageWindowPreferences.test.js +++ b/src/main/pageWindowPreferences.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import { pageWindowPreferences } from './pageWindowPreferences'; it( 'every window runs with Node shut out, isolation on, and the sandbox on', () => { diff --git a/src/main/parseAlignment.test.js b/src/main/parseAlignment.test.js index 68ab7814..e7ba8a6c 100644 --- a/src/main/parseAlignment.test.js +++ b/src/main/parseAlignment.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import { parseAlignment } from './parseAlignment'; function tools( parse, extra = {} ) { diff --git a/src/main/selectAlignment.test.js b/src/main/selectAlignment.test.js index 10b6518e..8262493d 100644 --- a/src/main/selectAlignment.test.js +++ b/src/main/selectAlignment.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import { selectAlignment } from './selectAlignment'; it( 'selectAlignment resolves the chosen alignment paths and names', async () => { diff --git a/src/main/selectAstralFile.test.js b/src/main/selectAstralFile.test.js index 9e2a5ae7..ffd6572b 100644 --- a/src/main/selectAstralFile.test.js +++ b/src/main/selectAstralFile.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import { selectAstralFile } from './selectAstralFile'; it( 'selectAstralFile resolves the chosen ASTRAL path and name', async () => { diff --git a/src/main/selectOutputDir.test.js b/src/main/selectOutputDir.test.js index 2675ec83..60710542 100644 --- a/src/main/selectOutputDir.test.js +++ b/src/main/selectOutputDir.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import * as ipc from '../constants/ipc'; import { selectOutputDir } from './selectOutputDir'; diff --git a/src/main/selectPartitionFile.test.js b/src/main/selectPartitionFile.test.js index 5cde491c..5a215e11 100644 --- a/src/main/selectPartitionFile.test.js +++ b/src/main/selectPartitionFile.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import * as ipc from '../constants/ipc'; import { selectPartitionFile } from './selectPartitionFile'; diff --git a/src/main/selectTree.test.js b/src/main/selectTree.test.js index 07616d1f..d4c7b86c 100644 --- a/src/main/selectTree.test.js +++ b/src/main/selectTree.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. import * as ipc from '../constants/ipc'; import { selectTree } from './selectTree'; diff --git a/src/main/updates.test.js b/src/main/updates.test.js index d2303937..c8a15d90 100644 --- a/src/main/updates.test.js +++ b/src/main/updates.test.js @@ -1,4 +1,4 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. +// @ts-nocheck — test doubles and window.rendererBridge are untyped. import fs from 'fs'; import path from 'path'; import { setImmediate } from 'timers'; diff --git a/src/pageNodeImports.test.js b/src/pageNodeImports.test.js index e6e2d4fc..8a283192 100644 --- a/src/pageNodeImports.test.js +++ b/src/pageNodeImports.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. const fs = require( 'fs' ); const path = require( 'path' ); diff --git a/src/preload.test.js b/src/preload.test.js index 0990571d..98b1cf67 100644 --- a/src/preload.test.js +++ b/src/preload.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. const { spawnSync } = require( 'child_process' ); const fs = require( 'fs' ); const os = require( 'os' ); diff --git a/src/sourceMaps.test.js b/src/sourceMaps.test.js index 6b10383d..714114ef 100644 --- a/src/sourceMaps.test.js +++ b/src/sourceMaps.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. const { spawnSync } = require( 'child_process' ); const path = require( 'path' ); const { version } = require( '../package.json' ); diff --git a/src/typecheckBaseline.test.js b/src/typecheckBaseline.test.js index a9b2fe1f..4789c305 100644 --- a/src/typecheckBaseline.test.js +++ b/src/typecheckBaseline.test.js @@ -1,4 +1,3 @@ -// @ts-nocheck — Jest globals. checkJs has no test runner types. const { freshLines, unusedLines } = require( '../scripts/typecheck-baseline' ); it( 'reports a diagnostic line that the baseline does not list', () => { diff --git a/yarn.lock b/yarn.lock index e958fc50..1b518003 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3303,6 +3303,14 @@ dependencies: "@types/istanbul-lib-report" "*" +"@types/jest@27.5.2": + version "27.5.2" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.5.2.tgz#ec49d29d926500ffb9fd22b84262e862049c026c" + integrity sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA== + dependencies: + jest-matcher-utils "^27.0.0" + pretty-format "^27.0.0" + "@types/json-schema@^7.0.9": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" @@ -7110,7 +7118,7 @@ jest-leak-detector@^27.5.1: jest-get-type "^27.5.1" pretty-format "^27.5.1" -jest-matcher-utils@^27.5.1: +jest-matcher-utils@^27.0.0, jest-matcher-utils@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab" integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw== @@ -8554,7 +8562,7 @@ pretty-bytes@^4.0.2: resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9" integrity sha512-yJAF+AjbHKlxQ8eezMd/34Mnj/YTQ3i6kLzvVsH4l/BfIFtp444n0wVbnsn66JimZ9uBofv815aRp1zCppxlWw== -pretty-format@^27.5.1: +pretty-format@^27.0.0, pretty-format@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==