chore(ui): upgrade all 3rd party dependencies

This commit is contained in:
Łukasz Mierzwa
2021-11-15 23:12:19 +00:00
committed by Łukasz Mierzwa
parent c68aaf5689
commit 3a40cdf56d
2 changed files with 508 additions and 337 deletions

841
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -77,8 +77,8 @@ const MountedAlertManagerInput = () => {
const ValidateSuggestions = () => {
const tree = MountedAlertManagerInput();
// clear all selected instances, they are selected by default
const clear = tree.find("ClearIndicator");
// https://github.com/JedWatson/react-select/blob/c22d296d50917e210836fb011ae3e565895e6440/src/__tests__/Select.test.js#L1873
const clear = tree.find("div.react-select__clear-indicator");
// https://github.com/JedWatson/react-select/blob/a5f16df18502e6008730969427c6b61a5ffda56f/packages/react-select/src/__tests__/Select.test.tsx#L2722-L2725
clear.simulate("mousedown", { button: 0 });
// click on the react-select component doesn't seem to trigger options
// rendering in tests, so change the input instead