Merge pull request #5043 from backstage/freben/unregister

Update the entity unregister dialog behavior, to support both unregistration as well as plain deletion
This commit is contained in:
Fredrik Adelöw
2021-03-30 09:40:53 +02:00
committed by GitHub
24 changed files with 1026 additions and 202 deletions
@@ -32,8 +32,10 @@ describe('useEntityFilterGroup', () => {
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
addLocation: jest.fn(_a => new Promise(() => {})),
getEntities: jest.fn(),
getOriginLocationByEntity: jest.fn(),
getLocationByEntity: jest.fn(),
getLocationById: jest.fn(),
removeLocationById: jest.fn(),
removeEntityByUid: jest.fn(),
getEntityByName: jest.fn(),
};