Skip to content

Commit

Permalink
Fix tests (#19)
Browse files Browse the repository at this point in the history
Remove `Deno.runTests` and use `deno test`
  • Loading branch information
chrisdothtml authored May 28, 2020
1 parent 84ed648 commit b254cc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ Deno.test({
assertEquals(mmInstance.makeRe() instanceof RegExp, true)
},
})

Deno.runTests()
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "rollup -c",
"lint": "eslint .",
"pretest": "yarn build",
"test": "yarn lint && deno run index.test.js"
"test": "yarn lint && deno test index.test.js"
},
"eslintIgnore": [
"index.js"
Expand All @@ -26,4 +26,4 @@
"node": "12.13.0",
"yarn": "1.19.1"
}
}
}

0 comments on commit b254cc5

Please sign in to comment.