balena-supervisor/test/19-compose-utils.coffee
2018-11-02 14:50:12 +00:00

23 lines
359 B
CoffeeScript

require('mocha')
{ expect } = require('chai')
ComposeUtils = require('../src/compose/utils')
describe 'Composition utilities', ->
it 'Should correctly camel case the configuration', ->
config =
networks: [
'test',
'test2',
]
expect(ComposeUtils.camelCaseConfig(config)).to.deep.equal({
networks: [
'test'
'test2'
]
})