mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-25 16:31:05 +00:00
620bcae53a
Change-type: patch
14 lines
348 B
TypeScript
14 lines
348 B
TypeScript
import { expect } from 'chai';
|
|
import * as ComposeUtils from '~/src/compose/utils';
|
|
|
|
describe('compose/utils', () =>
|
|
it('Should correctly camel case the configuration', function () {
|
|
const config = {
|
|
networks: ['test', 'test2'],
|
|
};
|
|
|
|
expect(ComposeUtils.camelCaseConfig(config)).to.deep.equal({
|
|
networks: ['test', 'test2'],
|
|
});
|
|
}));
|