Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency jest-watch-typeahead to v2.2.0 #6391

Merged
merged 5 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion packages/auth/src/__tests__/AuthProvider.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ require('whatwg-fetch')

import { useEffect, useState } from 'react'

import { render, screen, fireEvent, waitFor } from '@testing-library/react'
import {
render,
screen,
fireEvent,
waitFor,
configure,
} from '@testing-library/react'
import '@testing-library/jest-dom/extend-expect'
import { graphql } from 'msw'
import { setupServer } from 'msw/node'
Expand All @@ -11,6 +17,10 @@ import type { AuthClient } from '../authClients'
import { AuthProvider } from '../AuthProvider'
import { useAuth } from '../useAuth'

configure({
asyncUtilTimeout: 5_000,
})

type HasRoleAuthClient = AuthClient & {
hasRole: (rolesToCheck?: string | string[]) => Promise<boolean | null>
}
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"fast-glob": "3.2.11",
"jest": "29.0.3",
"jest-environment-jsdom": "29.0.3",
"jest-watch-typeahead": "2.1.1",
"jest-watch-typeahead": "2.2.0",
"msw": "0.40.2",
"ts-toolbelt": "9.6.0",
"whatwg-fetch": "3.6.2"
Expand Down
131 changes: 8 additions & 123 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3684,20 +3684,6 @@ __metadata:
languageName: node
linkType: hard

"@jest/console@npm:^28.1.3":
version: 28.1.3
resolution: "@jest/console@npm:28.1.3"
dependencies:
"@jest/types": ^28.1.3
"@types/node": "*"
chalk: ^4.0.0
jest-message-util: ^28.1.3
jest-util: ^28.1.3
slash: ^3.0.0
checksum: c539b814cd9d3eadb53ce04e2ac00716fe0d808511cb64aebf2920bcb1646c65f094188a7f9aa74fca73a501c00ee5835e906717dc3682cbb4ecf7fbb316fc75
languageName: node
linkType: hard

"@jest/console@npm:^29.0.3":
version: 29.0.3
resolution: "@jest/console@npm:29.0.3"
Expand Down Expand Up @@ -3848,15 +3834,6 @@ __metadata:
languageName: node
linkType: hard

"@jest/schemas@npm:^28.1.3":
version: 28.1.3
resolution: "@jest/schemas@npm:28.1.3"
dependencies:
"@sinclair/typebox": ^0.24.1
checksum: 8c325918f3e1b83e687987b05c2e5143d171f372b091f891fe17835f06fadd864ddae3c7e221a704bdd7e2ea28c4b337124c02023d8affcbdd51eca2879162ac
languageName: node
linkType: hard

"@jest/schemas@npm:^29.0.0":
version: 29.0.0
resolution: "@jest/schemas@npm:29.0.0"
Expand All @@ -3877,18 +3854,6 @@ __metadata:
languageName: node
linkType: hard

"@jest/test-result@npm:^28.1.3":
version: 28.1.3
resolution: "@jest/test-result@npm:28.1.3"
dependencies:
"@jest/console": ^28.1.3
"@jest/types": ^28.1.3
"@types/istanbul-lib-coverage": ^2.0.0
collect-v8-coverage: ^1.0.0
checksum: 2dcc5dda444d4a308c6cb5b62f71a72ee5ff5702541e7faeec0314b4d50139d9004efd503baa15dec692856005c8a5c4afc3a94dabd92825645832eb12f00bea
languageName: node
linkType: hard

"@jest/test-result@npm:^29.0.3":
version: 29.0.3
resolution: "@jest/test-result@npm:29.0.3"
Expand Down Expand Up @@ -3972,20 +3937,6 @@ __metadata:
languageName: node
linkType: hard

"@jest/types@npm:^28.1.3":
version: 28.1.3
resolution: "@jest/types@npm:28.1.3"
dependencies:
"@jest/schemas": ^28.1.3
"@types/istanbul-lib-coverage": ^2.0.0
"@types/istanbul-reports": ^3.0.0
"@types/node": "*"
"@types/yargs": ^17.0.8
chalk: ^4.0.0
checksum: 3cffae7d1133aa7952a6b5c4806f89ed78cb0dfe3ec4e8c5a6e704d7bab3cff86c714abb5f0f637540da22776900a33b3bad79c5ed5fc5b5535fb24e3006e3cb
languageName: node
linkType: hard

"@jest/types@npm:^29.0.3":
version: 29.0.3
resolution: "@jest/types@npm:29.0.3"
Expand Down Expand Up @@ -6754,7 +6705,7 @@ __metadata:
fast-glob: 3.2.11
jest: 29.0.3
jest-environment-jsdom: 29.0.3
jest-watch-typeahead: 2.1.1
jest-watch-typeahead: 2.2.0
msw: 0.40.2
ts-toolbelt: 9.6.0
typescript: 4.7.4
Expand Down Expand Up @@ -20137,23 +20088,6 @@ __metadata:
languageName: node
linkType: hard

"jest-message-util@npm:^28.1.3":
version: 28.1.3
resolution: "jest-message-util@npm:28.1.3"
dependencies:
"@babel/code-frame": ^7.12.13
"@jest/types": ^28.1.3
"@types/stack-utils": ^2.0.0
chalk: ^4.0.0
graceful-fs: ^4.2.9
micromatch: ^4.0.4
pretty-format: ^28.1.3
slash: ^3.0.0
stack-utils: ^2.0.3
checksum: 9f56a11b4171e43e2375446e624eec86f82820d9a35de3cd8b065b5ce2d7f65d2bbbdfc0ffe5fa358ff866693a68ec4f6b0cb8ad953fd6f35f9895eb370c6ed7
languageName: node
linkType: hard

"jest-message-util@npm:^29.0.3":
version: 29.0.3
resolution: "jest-message-util@npm:29.0.3"
Expand Down Expand Up @@ -20200,13 +20134,6 @@ __metadata:
languageName: node
linkType: hard

"jest-regex-util@npm:^28.0.0":
version: 28.0.2
resolution: "jest-regex-util@npm:28.0.2"
checksum: d79d255b8a2217bdb0b638cbb5e61a41ab788e62a6217fce5276ab9763c1327b9e0a4f10ebdb230c76848125aa9cc97c8751cfad15db7ec0441d44acfbaf5084
languageName: node
linkType: hard

"jest-regex-util@npm:^29.0.0":
version: 29.0.0
resolution: "jest-regex-util@npm:29.0.0"
Expand Down Expand Up @@ -20356,20 +20283,6 @@ __metadata:
languageName: node
linkType: hard

"jest-util@npm:^28.1.3":
version: 28.1.3
resolution: "jest-util@npm:28.1.3"
dependencies:
"@jest/types": ^28.1.3
"@types/node": "*"
chalk: ^4.0.0
ci-info: ^3.2.0
graceful-fs: ^4.2.9
picomatch: ^2.2.3
checksum: 7d4946424032a2ccb2ad669905debb44b0bf040dff7a1fe82d283c679ae4638a86ca48d6a276d65a76451252338ad84e76ef2cfde03f577f091fe2b3102aedc9
languageName: node
linkType: hard

"jest-util@npm:^29.0.3":
version: 29.0.3
resolution: "jest-util@npm:29.0.3"
Expand Down Expand Up @@ -20398,40 +20311,24 @@ __metadata:
languageName: node
linkType: hard

"jest-watch-typeahead@npm:2.1.1":
version: 2.1.1
resolution: "jest-watch-typeahead@npm:2.1.1"
"jest-watch-typeahead@npm:2.2.0":
version: 2.2.0
resolution: "jest-watch-typeahead@npm:2.2.0"
dependencies:
ansi-escapes: ^5.0.0
chalk: ^4.0.0
jest-regex-util: ^28.0.0
jest-watcher: ^28.0.0
jest-regex-util: ^29.0.0
jest-watcher: ^29.0.0
slash: ^4.0.0
string-length: ^5.0.1
strip-ansi: ^7.0.1
peerDependencies:
jest: ^27.0.0 || ^28.0.0 || ^29.0.0
checksum: b7edf4f322f488ea8b26be0981df8b5db4fef0e5bf8e96adf40ead79a832d84f7fca79df5a7914d240c38074fd027b8918637323a681e60d8f26c0f19fea43dd
checksum: e3bff7ba953ba330e2c8ea4ad4c13f4f5a905c63d53cf8ecc014e8f22ed776f075342fe748409b585f7da50ad6e9f27118b4f04783956cf05d11f2b74c36a057
languageName: node
linkType: hard

"jest-watcher@npm:^28.0.0":
version: 28.1.3
resolution: "jest-watcher@npm:28.1.3"
dependencies:
"@jest/test-result": ^28.1.3
"@jest/types": ^28.1.3
"@types/node": "*"
ansi-escapes: ^4.2.1
chalk: ^4.0.0
emittery: ^0.10.2
jest-util: ^28.1.3
string-length: ^4.0.1
checksum: c61da8c35f8fc74224335471675649966787b12ae4469b5049cb46facafb30f16b63a52d0d1137701b651cd514abcae005680bfc542d85979ddbae4dbc6c10ad
languageName: node
linkType: hard

"jest-watcher@npm:^29.0.3":
"jest-watcher@npm:^29.0.0, jest-watcher@npm:^29.0.3":
version: 29.0.3
resolution: "jest-watcher@npm:29.0.3"
dependencies:
Expand Down Expand Up @@ -25349,18 +25246,6 @@ __metadata:
languageName: node
linkType: hard

"pretty-format@npm:^28.1.3":
version: 28.1.3
resolution: "pretty-format@npm:28.1.3"
dependencies:
"@jest/schemas": ^28.1.3
ansi-regex: ^5.0.1
ansi-styles: ^5.0.0
react-is: ^18.0.0
checksum: 596d8b459b6fdac7dcbd70d40169191e889939c17ffbcc73eebe2a9a6f82cdbb57faffe190274e0a507d9ecdf3affadf8a9b43442a625eecfbd2813b9319660f
languageName: node
linkType: hard

"pretty-format@npm:^29.0.0, pretty-format@npm:^29.0.3":
version: 29.0.3
resolution: "pretty-format@npm:29.0.3"
Expand Down