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.
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
const ServiceTester = require('../service-tester')
|
||||
|
||||
const t = new ServiceTester({ id: 'bithound', title: 'BitHound' })
|
||||
module.exports = t
|
||||
const t = (module.exports = new ServiceTester({
|
||||
id: 'bithound',
|
||||
title: 'BitHound',
|
||||
}))
|
||||
|
||||
t.create('no longer available (code)')
|
||||
.get('/code/github/rexxars/sse-channel.json')
|
||||
|
||||
Reference in New Issue
Block a user