-
-
Notifications
You must be signed in to change notification settings - Fork 496
[Tests] Add test coverage for PropertyDescriptors #986
Copy link
Copy link
Closed
Labels
Description
JckXia
opened on Apr 30, 2021
Issue body actions
| class | methods |
|---|---|
| PropertyDescriptor | PropertyDescriptor(napi_property_descriptor desc) |
| Covered #610 | template <Napi::PropertyDescriptor::GetterCallback Getter> static PropertyDescriptor Napi::PropertyDescriptor::Accessor(__name, napi_property_attributes attributes = napi_default, void * data = nullptr) |
| Covered #610 | template<GetterCallback Getter, SetterCallback Setter> static PropertyDescriptor Accessor(__name, napi_property_attributes attributes = napi_default , void * data = nullptr) |
| Covered #343 | static PropertyDescriptor Accessor(__ name, Getter getter , napi_property_attributes attributes = napi_defaults, void * data = nullptr) |
| Covered #652 | PropertyDescriptor Napi::PropertyDescriptor::Function( _-name, Callable cb, napi_property_attributes attributes = napi_default, void * data = nullptr) |
| Covered #65 | PropertyDescriptor Value(__name, napi_value value, napi_property_attributes attributes = napi_default) |
| Covered #65 | PropertyDescriptor Value(Name name, Value value, napi_property_attributes attributes = napi_default) |
Reactions are currently unavailable