I have a node with the following function:
    node.foo = async function () {
      throw ("FooBar");
    };
I would like to test this function using the https://github.com/node-red/node-red-node-test-helper.
I want to test that the function returns an exception. How is this achievable with the test helper?