chore(deps-dev): bump react-dom and @types/react-dom #2981
ci-cd.yml
on: pull_request
Dependabot automerge
0s
Generate Contributors List
0s
Annotations
20 errors and 3 warnings
Lint:
src/useAsync/index.dom.test.ts#L41
`act` is deprecated. Import `act` from `react` instead. (@typescript-eslint/no-deprecated)
|
Lint:
src/useAsync/index.dom.test.ts#L41
Unsafe call of a(n) `error` type typed value. (@typescript-eslint/no-unsafe-call)
|
Lint:
src/useAsync/index.dom.test.ts#L62
`act` is deprecated. Import `act` from `react` instead. (@typescript-eslint/no-deprecated)
|
Lint:
src/useAsync/index.dom.test.ts#L62
Unsafe call of a(n) `error` type typed value. (@typescript-eslint/no-unsafe-call)
|
Lint:
src/useAsync/index.dom.test.ts#L88
`act` is deprecated. Import `act` from `react` instead. (@typescript-eslint/no-deprecated)
|
Lint:
src/useAsync/index.dom.test.ts#L88
Unsafe call of a(n) `error` type typed value. (@typescript-eslint/no-unsafe-call)
|
Lint:
src/useAsync/index.dom.test.ts#L98
`act` is deprecated. Import `act` from `react` instead. (@typescript-eslint/no-deprecated)
|
Lint:
src/useAsync/index.dom.test.ts#L98
Unsafe call of a(n) `error` type typed value. (@typescript-eslint/no-unsafe-call)
|
Lint:
src/useAsync/index.dom.test.ts#L115
`act` is deprecated. Import `act` from `react` instead. (@typescript-eslint/no-deprecated)
|
Lint:
src/useAsync/index.dom.test.ts#L115
Unsafe call of a(n) `error` type typed value. (@typescript-eslint/no-unsafe-call)
|
src/useAsync/index.dom.test.ts > useAsync > should render:
src/useAsync/index.dom.test.ts#L29
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:29:20
|
src/useAsync/index.dom.test.ts > useAsync > should not invoke async function on mount if `skipMount` option is passed:
src/useAsync/index.dom.test.ts#L35
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:35:3
|
src/useAsync/index.dom.test.ts > useAsync > should apply `initialValue` arg:
src/useAsync/index.dom.test.ts#L41
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ src/useAsync/index.dom.test.ts:41:9
|
src/useAsync/index.dom.test.ts > useAsync > should have `not-executed` status initially:
src/useAsync/index.dom.test.ts#L62
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ src/useAsync/index.dom.test.ts:62:9
|
src/useAsync/index.dom.test.ts > useAsync > should have `loading` status while promise invoked but not resolved:
src/useAsync/index.dom.test.ts#L80
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:80:20
|
src/useAsync/index.dom.test.ts > useAsync > should set `success` status and store `result` state field on fulfill:
src/useAsync/index.dom.test.ts#L107
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:107:20
|
src/useAsync/index.dom.test.ts > useAsync > should set `error` status and store `error` state field on reject:
src/useAsync/index.dom.test.ts#L132
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:132:20
|
src/useAsync/index.dom.test.ts > useAsync > should rollback state to initial on `reset` method call:
src/useAsync/index.dom.test.ts#L159
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:159:20
|
src/useAsync/index.dom.test.ts > useAsync > should not process results of promise if another was executed:
src/useAsync/index.dom.test.ts#L194
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:194:20
|
src/useAsync/index.dom.test.ts > useAsync > should not process error of promise if another was executed:
src/useAsync/index.dom.test.ts#L225
TypeError: React.act is not a function
❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20
❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26
❯ renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5
❯ src/useAsync/index.dom.test.ts:225:20
|
Build
Cache not found for keys: node-cache-Linux-x64-yarn-97a32a6408ea3278d5693367049eda10180747cc5f62d61d627f83f8815758ae
|
Lint
Cache not found for keys: node-cache-Linux-x64-yarn-97a32a6408ea3278d5693367049eda10180747cc5f62d61d627f83f8815758ae
|
Test
Cache not found for keys: node-cache-Linux-x64-yarn-97a32a6408ea3278d5693367049eda10180747cc5f62d61d627f83f8815758ae
|