Skip to content

Commit

Permalink
append-transform now requires the file argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed Dec 19, 2015
1 parent c3f081b commit 7a79c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/nyc-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('nyc', function () {
describe('custom require hooks are installed', function () {
it('wraps modules with coverage counters when the custom require hook compiles them', function () {
var hook = sinon.spy(function (module, filename) {
module._compile(fs.readFileSync(filename, 'utf8'))
module._compile(fs.readFileSync(filename, 'utf8'), filename)
})

var nyc = new NYC({
Expand Down

0 comments on commit 7a79c74

Please sign in to comment.