Remove some obsolete .networkOff() tests (#2932)

This commit is contained in:
Paul Melnikow
2019-02-05 16:23:24 -05:00
committed by Pierre-Yves B
parent 3b8fb49aac
commit ef5c36dcb4
7 changed files with 0 additions and 45 deletions

View File

@@ -5,17 +5,6 @@ const { expect } = require('chai')
const t = (module.exports = require('..').createServiceTester())
t.create('Connection error')
.get(
'.json?url=https://github.com/badges/shields/raw/master/package.json&query=$.name&label=Package Name&style=_shields_test'
)
.networkOff()
.expectJSON({
name: 'Package Name',
value: 'inaccessible',
color: 'lightgray',
})
t.create('No URL specified')
.get('.json?query=$.name&label=Package Name&style=_shields_test')
.expectJSON({