test fixed
Signed-off-by: bogdannechyporenko <bogdannechiporenko@gmail.com>
This commit is contained in:
+5
-1
@@ -80,7 +80,11 @@ describe('UnregisterEntityDialog', () => {
|
||||
|
||||
it('can cancel', async () => {
|
||||
const onClose = jest.fn();
|
||||
stateSpy.mockImplementation(() => ({ type: 'loading' }));
|
||||
stateSpy.mockImplementation(() => ({
|
||||
type: 'bootstrap',
|
||||
location: '',
|
||||
deleteEntity: jest.fn(),
|
||||
}));
|
||||
|
||||
await renderInTestApp(
|
||||
<Wrapper>
|
||||
|
||||
Reference in New Issue
Block a user