Commit Graph
2 Commits
Author SHA1 Message Date
David Lechner 2f857acbb7 utils/monkey-patch: remove try/catch in test
The try/catch would also suppress the fail() which would make the test
always succeed even when it should fail.

Jest has a .rejects API that can be used instead.
2022-02-22 12:32:19 -06:00
David Lechner fd09783a45 toolbar: work around tooltip bugs
This works around several bugs where tooltips don't close when expected.

Fixes: https://github.com/pybricks/pybricks-code/issues/275
2021-12-28 18:55:20 -06:00