Skip to content

Commit 6b3c0ee

Browse files
committed
instead of null, expect error not exist in tests
1 parent 10a77fd commit 6b3c0ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('vue-loader', function () {
3434

3535
function getFile (file, cb) {
3636
fs.readFile(path.resolve(outputDir, file), 'utf-8', function (err, data) {
37-
expect(err).to.be.null
37+
expect(err).to.be.not.exist
3838
cb(data)
3939
})
4040
}

0 commit comments

Comments
 (0)