mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
3f5239b07f
Change-type: patch Signed-off-by: Roman Mazur <roman@balena.io>
23 lines
371 B
CoffeeScript
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'
|
|
]
|
|
})
|
|
|