Home Reference Source Test Repository

Test

Description Identifier Count

created successfully

-

allows to set context

-

gets created successfully

-

finds a package.json successfully

-

returns null if package not found

-

executes ls command successfully

-

gets created successfully

-

has logger

-

with local event handlers

-

removes handler on exit

-

local event handler overrides external

-

local event handler adds to external

-

returns true if it has at least one handler for an event

-

returns false if it does not have any handlers for an event

-

throw error if hasHandlers() not passed an event name

-

throws error if event name is not provided

-

dispatch event without context object should work

-

accepts a new function handler for event

-

throws error when too many handlers are added for event

-

removes all handlers for an event

-

loads plugin functions

-

created successfully

-

allows setting custom message

-

has Ajv instance as a property

-

has all available schemas

-

successfully validates correct schema

-

successfully validates invalid schema

-