Fix entity mocks in tests

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-10-13 15:17:27 +02:00
parent 4830a3569f
commit d79f104234
5 changed files with 26 additions and 10 deletions
@@ -38,7 +38,10 @@ describe('EntityBadgesDialog', () => {
},
]),
};
const mockEntity = { metadata: { name: 'mock' } } as Entity;
const mockEntity = {
metadata: { name: 'mock' },
kind: 'MockKind',
} as Entity;
const rendered = await renderWithEffects(
<TestApiProvider