BannerSlim: fix bug with list of children #17773
Annotations
10 errors and 2 warnings
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L9
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders neutral type with message 1`
- Snapshot - 3
+ Received + 0
@@ -26,12 +26,9 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:9:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L20
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders an icon with accessibility label 1`
- Snapshot - 3
+ Received + 0
@@ -48,12 +48,9 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:20:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L31
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders non-neutral compact with accessibility label 1`
- Snapshot - 3
+ Received + 0
@@ -48,12 +48,9 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:31:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L46
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders simple message with helper link 1`
- Snapshot - 3
+ Received + 0
@@ -51,12 +51,9 @@
>
Learn more
</a>
</span>
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:46:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L83
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders primary action and dismiss button 1`
- Snapshot - 3
+ Received + 0
@@ -26,13 +26,10 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
<div
className="FlexItem flexNone"
>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:83:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L9
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders neutral type with message 1`
- Snapshot - 3
+ Received + 0
@@ -26,12 +26,9 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:9:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L20
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders an icon with accessibility label 1`
- Snapshot - 3
+ Received + 0
@@ -48,12 +48,9 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:20:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L31
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders non-neutral compact with accessibility label 1`
- Snapshot - 3
+ Received + 0
@@ -48,12 +48,9 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:31:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L46
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders simple message with helper link 1`
- Snapshot - 3
+ Received + 0
@@ -51,12 +51,9 @@
>
Learn more
</a>
</span>
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:46:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
|
Tests:
packages/gestalt/src/BannerSlim.test.tsx#L83
Error: expect(received).toMatchSnapshot()
Snapshot name: `BannerSlim renders primary action and dismiss button 1`
- Snapshot - 3
+ Received + 0
@@ -26,13 +26,10 @@
<span
className="default alignStart breakWord Text fontSize300 fontWeightNormal"
>
test
</span>
- <span
- className="default alignStart breakWord Text fontSize300 fontWeightNormal"
- />
</div>
</div>
<div
className="FlexItem flexNone"
>
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/BannerSlim.test.tsx:83:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
|
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|