mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 21:57:54 +00:00
9fc2e86322
Change-type: patch Signed-off-by: Miguel Casqueira <miguel@balena.io>
14 lines
370 B
TypeScript
14 lines
370 B
TypeScript
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'],
|
|
});
|
|
}));
|