mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 14:13:08 +00:00
758f3caa48
Change-type: patch
14 lines
370 B
JavaScript
14 lines
370 B
JavaScript
import { expect } from './lib/chai-config';
|
|
import * as ComposeUtils from '../src/compose/utils';
|
|
|
|
describe('Composition utilities', () =>
|
|
it('Should correctly camel case the configuration', function () {
|
|
const config = {
|
|
networks: ['test', 'test2'],
|
|
};
|
|
|
|
expect(ComposeUtils.camelCaseConfig(config)).to.deep.equal({
|
|
networks: ['test', 'test2'],
|
|
});
|
|
}));
|