Explicitly skip tests that should be skipped

This commit is contained in:
Aleksei Kuzmin 2017-11-16 00:05:46 +03:00
parent 42d7d51b75
commit cf749a8e18
19 changed files with 675 additions and 262 deletions

View file

@ -682,8 +682,13 @@ describe('protocol module', () => {
})
})
it('sends error when callback is called with nothing', (done) => {
if (process.env.TRAVIS === 'true') return done()
it('sends error when callback is called with nothing', function (done) {
if (process.env.TRAVIS === 'true') {
// FIXME(alexeykuzmin): Skip the test.
// this.skip()
return done()
}
protocol.interceptBufferProtocol('http', emptyHandler, (error) => {
if (error) return done(error)
$.ajax({