Implemented feedback to changesets, theme provider, and core-imports test

- Removed validation logic for `appTheme.Provider` as type checking should be enough
- Replaced `createApp` with `createSpecializedApp` in `core-imports.test.ts`
- Upped changeset level from patch to minor and made minor verbiage tweaks

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
Colton Padden
2021-12-15 21:31:13 -05:00
parent 35b03e9dba
commit df8ee36288
7 changed files with 14 additions and 15 deletions
@@ -45,8 +45,9 @@ return something()
it('should refactor imports', () => {
const input = `
/* COPYRIGHT: ME */
import { Button as MyButton, createApiRef } from '@backstage/core';
import { Button as MyButton, createApiRef, createSpecializedApp } from '@backstage/core';
const app = createSpecializedApp();
const apiRef = createApiRef();
const button = <MyButton />
`;
@@ -56,7 +57,9 @@ const button = <MyButton />
import { Button as MyButton } from '@backstage/core-components';
import { createApiRef } from '@backstage/core-plugin-api';
import { createSpecializedApp } from '@backstage/core-app-api';
const app = createSpecializedApp();
const apiRef = createApiRef();
const button = <MyButton />
`;