balena-supervisor/test/19-compose-utils.coffee
Roman Mazur 3f5239b07f
Remove mochainon dependnecy
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-19 23:31:58 +03:00

23 lines
371 B
CoffeeScript

require('mocha')
{ expect } = require './lib/chai-config'
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'
]
})