release-2021-11-18 packages/core-plugin-api/src/apis/definitions/AppThemeApi.ts:45
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
import { AppThemeApi, appThemeApiRef } from '@backstage/core-plugin-api';
|
||||
import { renderInTestApp, TestApiProvider } from '@backstage/test-utils';
|
||||
import { BackstageTheme } from '@backstage/theme';
|
||||
import userEvent from '@testing-library/user-event';
|
||||
import React from 'react';
|
||||
import ObservableImpl from 'zen-observable';
|
||||
@@ -41,13 +40,11 @@ describe('SidebarThemeSwitcher', () => {
|
||||
id: 'dark',
|
||||
title: 'Dark Theme',
|
||||
variant: 'dark',
|
||||
theme: {} as unknown as BackstageTheme,
|
||||
},
|
||||
{
|
||||
id: 'light',
|
||||
title: 'Light Theme',
|
||||
variant: 'light',
|
||||
theme: {} as unknown as BackstageTheme,
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user