Migrate simple legacy tests to test/unit and test/integration

Change-type: patch
This commit is contained in:
pipex
2022-10-18 16:44:19 -03:00
parent 1185b92bb4
commit 620bcae53a
13 changed files with 90 additions and 70 deletions

View 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'],
});
}));