Skip to content

Commit

Permalink
exposing strong-type .strict on vanilla-test class
Browse files Browse the repository at this point in the history
  • Loading branch information
RIAEvangelist committed Nov 22, 2020
1 parent c265010 commit 054f4c4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ class VanillaTest{
return this.#is.throw;
}

get strict(){
return this.#is.strict;
}

set strict(strict){
this.#is.boolean(strict);
return this.#is.strict=strict;
}

expects(description){
this.#is.string(description);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-test",
"version": "1.2.0",
"version": "1.3.0",
"description": "minimal test framework for node, browsers, and electron, anywhere javascript can run",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 054f4c4

Please sign in to comment.