Support Node.js 10
This commit is contained in:
parent
4e1b5487dc
commit
37e731940b
@ -2,6 +2,7 @@ var helper = require('./test-helper')
|
|||||||
|
|
||||||
process.on('warning', function (warning) {
|
process.on('warning', function (warning) {
|
||||||
console.log(warning)
|
console.log(warning)
|
||||||
|
if (warning.message.startsWith('Buffer() is deprecated')) return
|
||||||
throw new Error('Should not emit deprecation warning')
|
throw new Error('Should not emit deprecation warning')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user