I started using this one-line boilerplate a while back and it seems to tidy things up a bit.
30 lines
689 B
JavaScript
30 lines
689 B
JavaScript
'use strict'
|
|
|
|
const ServiceTester = require('../service-tester')
|
|
|
|
const t = (module.exports = new ServiceTester({
|
|
id: 'bithound',
|
|
title: 'BitHound',
|
|
}))
|
|
|
|
t.create('no longer available (code)')
|
|
.get('/code/github/rexxars/sse-channel.json')
|
|
.expectJSON({
|
|
name: 'bithound',
|
|
value: 'no longer available',
|
|
})
|
|
|
|
t.create('no longer available (dependencies)')
|
|
.get('/dependencies/github/rexxars/sse-channel.json')
|
|
.expectJSON({
|
|
name: 'bithound',
|
|
value: 'no longer available',
|
|
})
|
|
|
|
t.create('no longer available (devDpendencies)')
|
|
.get('/devDependencies/github/rexxars/sse-channel.json')
|
|
.expectJSON({
|
|
name: 'bithound',
|
|
value: 'no longer available',
|
|
})
|