snapshot fixes for tests

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-16 13:35:35 +01:00
parent 65ba8200e3
commit b91e17f622
3 changed files with 75 additions and 2 deletions
@@ -56,13 +56,63 @@ describe('PageBlueprint', () => {
"path": {
"type": "string",
},
"title": {
"type": "string",
},
},
"type": "object",
},
},
"disabled": false,
"factory": [Function],
"inputs": {},
"inputs": {
"pages": {
"$$type": "@backstage/ExtensionInput",
"config": {
"internal": false,
"optional": false,
"singleton": false,
},
"context": {
"input": "pages",
"kind": "page",
"name": "test-page",
},
"extensionData": [
[Function],
{
"$$type": "@backstage/ExtensionDataRef",
"config": {
"optional": true,
},
"id": "core.routing.ref",
"optional": [Function],
"toString": [Function],
},
[Function],
{
"$$type": "@backstage/ExtensionDataRef",
"config": {
"optional": true,
},
"id": "core.title",
"optional": [Function],
"toString": [Function],
},
{
"$$type": "@backstage/ExtensionDataRef",
"config": {
"optional": true,
},
"id": "core.icon",
"optional": [Function],
"toString": [Function],
},
],
"replaces": undefined,
"withContext": [Function],
},
},
"kind": "page",
"name": "test-page",
"output": [
@@ -77,6 +127,24 @@ describe('PageBlueprint', () => {
"optional": [Function],
"toString": [Function],
},
{
"$$type": "@backstage/ExtensionDataRef",
"config": {
"optional": true,
},
"id": "core.title",
"optional": [Function],
"toString": [Function],
},
{
"$$type": "@backstage/ExtensionDataRef",
"config": {
"optional": true,
},
"id": "core.icon",
"optional": [Function],
"toString": [Function],
},
],
"override": [Function],
"toString": [Function],
@@ -206,6 +274,7 @@ describe('PageBlueprint', () => {
"core.reactElement",
"core.routing.path",
"core.routing.ref",
"core.title",
],
}
`);