feat(dashboard): add toast feedback to dashboard actions (#18114)

This commit is contained in:
Kamil Gabryjelski
2022-01-24 11:42:12 +01:00
committed by GitHub
parent 9fa2812343
commit d9eef8ec2f
8 changed files with 11 additions and 0 deletions

View File

@@ -230,6 +230,7 @@ test('Should "Force refresh"', () => {
userEvent.click(screen.getByRole('menuitem', { name: /Force refresh/ }));
expect(props.forceRefresh).toBeCalledTimes(1);
expect(props.forceRefresh).toBeCalledWith(371, 26);
expect(props.addSuccessToast).toBeCalledTimes(1);
});
test('Should "Maximize chart"', () => {