remove creatApp from core-import test because of updated package resolution
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
@@ -45,9 +45,8 @@ return something()
|
||||
it('should refactor imports', () => {
|
||||
const input = `
|
||||
/* COPYRIGHT: ME */
|
||||
import { Button as MyButton, createApiRef, createApp } from '@backstage/core';
|
||||
import { Button as MyButton, createApiRef } from '@backstage/core';
|
||||
|
||||
const app = createApp();
|
||||
const apiRef = createApiRef();
|
||||
const button = <MyButton />
|
||||
`;
|
||||
@@ -57,9 +56,7 @@ const button = <MyButton />
|
||||
import { Button as MyButton } from '@backstage/core-components';
|
||||
|
||||
import { createApiRef } from '@backstage/core-plugin-api';
|
||||
import { createApp } from '@backstage/core-app-api';
|
||||
|
||||
const app = createApp();
|
||||
const apiRef = createApiRef();
|
||||
const button = <MyButton />
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user