Skip to content

Add constructedWith for expect #43

@jamlen

Description

@jamlen

Look at adding the ability to assert against constructor args.

var Person = deride.construct(Person);
var bob = new Person('bob');
bob.expect.constructedWith('bob');

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions