Files
shields/services/check-services.spec.js
chris48s 13d75e0607 upgrade to prettier 2 (#5051)
* arrowParens: avoid
* remove trailingComma setting
2020-05-05 21:07:43 +01:00

19 lines
416 B
JavaScript

'use strict'
const {
checkNames,
collectDefinitions,
} = require('../core/base-service/loader')
// When these tests fail, they will throw AssertionErrors. Wrapping them in an
// `expect().not.to.throw()` makes the error output unreadable.
it('Services have unique names', function () {
this.timeout(30000)
checkNames()
})
it('Can collect the service definitions', function () {
collectDefinitions()
})