This moves the loader code into `core/base-service`, leaving behind in `services/index.js` only the convenience imports. Ref #2832
10 lines
305 B
JavaScript
10 lines
305 B
JavaScript
'use strict'
|
|
|
|
const { collectDefinitions } = require('../core/base-service/loader')
|
|
|
|
it('Can collect the service definitions', function() {
|
|
// When this fails, it will throw AssertionErrors. Wrapping this in an
|
|
// `expect().not.to.throw()` makes the error output unreadable.
|
|
collectDefinitions()
|
|
})
|