Remove some obsolete .networkOff() tests (#2932)
This commit is contained in:
committed by
Pierre-Yves B
parent
3b8fb49aac
commit
ef5c36dcb4
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user