Skip to content

Commit

Permalink
Require 100% coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Jul 22, 2018
1 parent 909b671 commit 61cb31c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"include": ["src/**/*.js"],
"lines": 95,
"branches": 95,
"statements": 95,
"functions": 95,
"lines": 100,
"branches": 100,
"statements": 100,
"functions": 100,
"reporter": ["lcov"],
"check-coverage": true,
"sourceMap": false,
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function findEmoji(names, match) {
return null;
}

function tokenize(text, opts = {}) {
function tokenize(text, opts) {
let chunk;
let i = 0;
const mentions = sortMentions(opts.mentions || []);
Expand Down

0 comments on commit 61cb31c

Please sign in to comment.