mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-03 01:30:42 +00:00
382cdb0cfa
This replaces all relative paths in the test suite (e.g `../src/compose/service.ts`) with the aliased path configured through tsconfig. This is a big change but it doesn't affect any functionality
14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
import { expect } from 'chai';
|
|
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'],
|
|
});
|
|
}));
|