fix test after changing config schema

This commit is contained in:
Jonah Back
2021-02-18 19:37:58 -08:00
parent fd3214557c
commit e0f141d36e
@@ -20,18 +20,14 @@ import { readAwsOrganizationConfig } from './config';
describe('readAwsOrganizationConfig', () => {
it('applies all of the defaults', () => {
const config = {
providers: [
{
roleArn: 'aws::arn::foo',
},
],
};
const actual = readAwsOrganizationConfig(new ConfigReader(config));
const expected = [
{
provider: {
roleArn: 'aws::arn::foo',
},
];
};
const actual = readAwsOrganizationConfig(new ConfigReader(config));
const expected = {
roleArn: 'aws::arn::foo',
};
expect(actual).toEqual(expected);
});
});