https://garden.io logo
#💻|dev
Title
# 💻|dev
a

ancient-diamond-80011

05/08/2023, 2:11 PM
i know we have the
expectError
helper in the testing utils - i noticed we don't have a similar helper for
expectWarning
, is there some good pattern in some test file that i could borrow? (basically, run a command, make sure we print out warnings in the garden log, but don't expect it to throw) EDIT: aha, found an example https://github.com/garden-io/garden/blob/92566652eed9e92313f256b245655df1c3b6ac0e/core/test/unit/src/commands/get/get-status.ts#L162-L191