[base-controller
] Add RestrictedControllerMessenger
tests for runtime error handling
#2059
Labels
base-controller
] Add RestrictedControllerMessenger
tests for runtime error handling
#2059
Motivation
RestrictedControllerMessenger
methods are not being tested on the basis of compile-time type checks./* istanbul ignore next */ // Branches unreachable with valid types
Tasks
@ts-expect-error
in the tests to suppress the compile-time type errors and simulate a JavaScript environment.The text was updated successfully, but these errors were encountered: