Bump gradle/actions from 3.3.2 to 3.4.1 in the react-native group across 1 directory #934
Annotations
7 errors and 1 warning
packages/babel-plugin-import-jsx-pragma/test/index.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme"]
console.warn() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
packages/docgen/test/get-jsdoc-from-token.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme"]
console.warn() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
packages/stylelint-config/test/selectors.js#L31
Error: expect(received).toBeFalsy()
Received: true
at toBeFalsy (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:31:58)
|
packages/stylelint-config/test/selectors.js#L36
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 6
Received array: [{"column": 49, "line": 22, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 16, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 21, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}]
at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:36:41)
|
packages/stylelint-config/test/selectors.js#L57
Error: expect(received).toHaveLength(expected)
Expected length: 8
Received length: 7
Received array: [{"column": 51, "line": 19, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 12, "line": 17, "rule": "selector-pseudo-element-colon-notation", "severity": "error", "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 14, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 18, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}]
at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:57:41)
|
packages/stylelint-config/test/selectors.js#L63
Error: expect(received).toMatchSnapshot()
Snapshot name: `flags warnings with invalid selectors css snapshot matches warnings 1`
- Snapshot - 35
+ Received + 28
[
{
- "column": 15,
- "line": 18,
- "rule": "declaration-property-unit-allowed-list",
- "severity": "error",
- "text": "Unexpected unit "%" for property "line-height" (declaration-property-unit-allowed-list)",
- },
- {
- "column": 1,
- "line": 25,
- "rule": "selector-class-pattern",
+ "column": 51,
+ "line": 19,
+ "rule": "no-missing-end-of-source-newline",
"severity": "error",
- "text": "Selector should use lowercase and separate words with hyphens (selector-class-pattern)",
+ "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)",
},
{
- "column": 1,
- "line": 1,
- "rule": "selector-id-pattern",
+ "column": 12,
+ "line": 17,
+ "rule": "selector-pseudo-element-colon-notation",
"severity": "error",
- "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)",
+ "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)",
},
{
- "column": 1,
- "line": 5,
- "rule": "selector-id-pattern",
+ "column": 3,
+ "line": 2,
+ "rule": "indentation",
"severity": "error",
- "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)",
+ "text": "Expected indentation of 1 tab (indentation)",
},
{
- "column": 4,
- "line": 9,
- "rule": "selector-id-pattern",
+ "column": 3,
+ "line": 6,
+ "rule": "indentation",
"severity": "error",
- "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)",
+ "text": "Expected indentation of 1 tab (indentation)",
},
{
- "column": 1,
- "line": 21,
- "rule": "selector-id-pattern",
+ "column": 3,
+ "line": 10,
+ "rule": "indentation",
"severity": "error",
- "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)",
+ "text": "Expected indentation of 1 tab (indentation)",
},
{
- "column": 10,
- "line": 29,
- "rule": "selector-pseudo-element-colon-notation",
+ "column": 3,
+ "line": 14,
+ "rule": "indentation",
"severity": "error",
- "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)",
+ "text": "Expected indentation of 1 tab (indentation)",
},
{
- "column": 12,
- "line": 17,
- "rule": "string-quotes",
+ "column": 3,
+ "line": 18,
+ "rule": "indentation",
"severity": "error",
- "text": "Expected double quotes (string-quotes)",
+ "text": "Expected indentation of 1 tab (indentation)",
},
]
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:63:41)
|
|
|
This job failed
Loading