mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-25 08:21:07 +00:00
23 lines
362 B
CoffeeScript
23 lines
362 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'
|
||
|
]
|
||
|
})
|
||
|
|