mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-17 23:08:14 +00:00
Migrate simple legacy tests to test/unit and test/integration
Change-type: patch
This commit is contained in:
13
test/unit/compose/utils.spec.ts
Normal file
13
test/unit/compose/utils.spec.ts
Normal file
@ -0,0 +1,13 @@
|
||||
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'],
|
||||
});
|
||||
}));
|
Reference in New Issue
Block a user