| 5 | class FunctionTest : public Napi::ObjectWrap<FunctionTest> { |
| 6 | public: |
| 7 | FunctionTest(const Napi::CallbackInfo& info) |
| 8 | : Napi::ObjectWrap<FunctionTest>(info) {} |
| 9 | |
| 10 | static Napi::Value OnCalledAsFunction(const Napi::CallbackInfo& info) { |
| 11 | // If called with a "true" argument, throw an exeption to test the handling. |
nothing calls this directly
no outgoing calls
no test coverage detected