Files
shields/services/bithound/bithound.tester.js
Paul Melnikow 8a8311d931 Unify and minimize tester boilerplate (#2472)
I started using this one-line boilerplate a while back and it seems to tidy things up a bit.
2018-12-08 13:15:24 -05:00

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',
})