Skip to content

[Tests] Add test coverage for PropertyDescriptors #986

Closed

Description

@JckXia
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)

Activity

  1. github-actions commented on Jul 30, 2021

    @github-actions
    Contributor

    This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

  2. NickNaso commented on Sep 24, 2021

    @NickNaso
    Member

    I'm closing this issue because all seems to be covered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions