fix: test -d #704
Annotations
2 errors and 1 warning
@fiction/site/test/card.unit.test.ts > card > should have correct generations settings:
@fiction/site/test/card.unit.test.ts#L83
AssertionError: expected { …(7) } to deeply equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
- "actions": Any<Object>,
- "heading": Any<Object>,
- "layout": Any<Object>,
- "subHeading": Any<Object>,
- "superHeading": Any<Object>,
+ Object {
+ "heading": Object {
+ "cumulativeTime": 4000,
+ "estimatedMs": 4000,
+ "hasTag": true,
+ "isUserEnabled": true,
+ "key": "heading",
+ "label": "Heading",
+ "prompt": "Primary hero headline, 3 to 13 words",
+ },
+ "overlays": Object {
+ "cumulativeTime": 8000,
+ "estimatedMs": 4000,
+ "hasTag": true,
+ "key": "overlays",
+ "label": "Overlays",
+ "prompt": "Overlays to be placed on top of the splash image",
+ },
+ "splash": Object {
+ "cumulativeTime": 8000,
+ "estimatedMs": 4000,
+ "hasTag": true,
+ "key": "splash",
+ "label": "Splash",
+ "prompt": "Splash picture for hero",
+ },
+ "subHeading": Object {
+ "cumulativeTime": 8000,
+ "estimatedMs": 4000,
+ "hasTag": true,
+ "isUserEnabled": true,
+ "key": "subHeading",
+ "label": "Sub Heading",
+ "prompt": "Secondary hero headline, 10 to 30 words",
+ },
+ "superColor": Object {
+ "cumulativeTime": 8000,
+ "estimatedMs": 4000,
+ "hasTag": true,
+ "key": "superColor",
+ "label": "Super Color",
+ "prompt": "change color of super heading",
+ },
+ "superHeading": Object {
+ "cumulativeTime": 8000,
+ "estimatedMs": 4000,
+ "hasTag": true,
+ "key": "superHeading",
+ "label": "Super Heading",
+ "prompt": "Shorter badge above headline, 2 to 5 words",
+ },
+ "superIcon": Object {
+ "cumulativeTime": 8000,
+ "estimatedMs": 4000,
+ "hasTag": true,
+ "key": "superIcon",
+ "label": "Super Icon",
+ "prompt": "Icon for the super heading",
+ },
}
❯ @fiction/site/test/card.unit.test.ts:83:25
|
build and test
Process completed with exit code 1.
|
build and test
The following actions use a deprecated Node.js version and will be forced to run on node20: slackapi/slack-github-action@v1.24.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|