I have written a number of addon functions, and I make sure they are available. Now I want to test these functions by unit test, written by google-test, therefore I need to manually call these functions in c++. Therefore, I need to pass the Napi::CallbackInfo parameter when calling the functions. But I don't know how to construct Napi::CallbackInfo object.
The signature of the function I wrote is as follows: Napi::Value MyFunction(const Napi::CallbackInfo& info);