update test snapshots for new structure of ExtensionDefinition

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-08-26 10:29:50 +02:00
parent 0a317137c5
commit 00b9e8c010
16 changed files with 20 additions and 0 deletions
@@ -37,6 +37,7 @@ describe('ApiBlueprint', () => {
expect(extension).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "root",
"input": "apis",
@@ -86,6 +87,7 @@ describe('ApiBlueprint', () => {
expect(extension).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "root",
"input": "apis",
@@ -27,6 +27,7 @@ describe('AppRootElementBlueprint', () => {
expect(extension).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "app/root",
"input": "elements",
@@ -37,6 +37,7 @@ describe('AppRootWrapperBlueprint', () => {
expect(extension).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "app/root",
"input": "wrappers",
@@ -33,6 +33,7 @@ describe('NavItemBlueprint', () => {
expect(extension).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "app/nav",
"input": "items",
@@ -30,6 +30,7 @@ describe('NavLogoBlueprint', () => {
expect(extension).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "app/nav",
"input": "logos",
@@ -43,6 +43,7 @@ describe('PageBlueprint', () => {
expect(myPage).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "app/routes",
"input": "routes",
@@ -38,6 +38,7 @@ describe('RouterBlueprint', () => {
expect(extension).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "app/root",
"input": "router",
@@ -31,6 +31,7 @@ describe('SignInPageBlueprint', () => {
).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "app/root",
"input": "signInPage",
@@ -31,6 +31,7 @@ describe('ThemeBlueprint', () => {
.toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "api:app-theme",
"input": "themes",
@@ -46,6 +46,7 @@ describe('TranslationBlueprint', () => {
).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "api:translations",
"input": "translations",
@@ -65,6 +65,7 @@ describe('createExtensionOverrides', () => {
"extensions": [
{
"$$type": "@backstage/Extension",
"T": undefined,
"attachTo": {
"id": "app",
"input": "apis",
@@ -80,6 +81,7 @@ describe('createExtensionOverrides', () => {
},
{
"$$type": "@backstage/Extension",
"T": undefined,
"attachTo": {
"id": "app",
"input": "apis",
@@ -95,6 +97,7 @@ describe('createExtensionOverrides', () => {
},
{
"$$type": "@backstage/Extension",
"T": undefined,
"attachTo": {
"id": "app",
"input": "apis",
@@ -150,6 +150,7 @@ describe('createFrontendPlugin', () => {
expect(plugin.getExtension('test/1')).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "test/output",
"input": "names",
@@ -281,6 +282,7 @@ describe('createFrontendPlugin', () => {
expect(plugin.getExtension('test/1')).toMatchInlineSnapshot(`
{
"$$type": "@backstage/ExtensionDefinition",
"T": undefined,
"attachTo": {
"id": "test/output",
"input": "names",