Skip to content

Commit

Permalink
update tap, use coverage-map
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed May 22, 2019
1 parent b39fc9a commit d57e350
Show file tree
Hide file tree
Showing 4 changed files with 1,170 additions and 1,177 deletions.
1 change: 1 addition & 0 deletions map.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = test => test.replace(/\.test\.jsx?$/, '.js')
3 changes: 3 additions & 0 deletions map.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const map = require('./map.js')
const t = require('tap')
t.equal(map('lib/foo/bar.test.jsx'), 'lib/foo/bar.js')
Loading

0 comments on commit d57e350

Please sign in to comment.