Skip to content

Commit 9204981

Browse files
committed
test(utils): merge configs helper upload & plugins merging
Signed-off-by: Vojtech Masek <[email protected]>
1 parent 0bd6078 commit 9204981

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/utils/src/lib/merge-configs.unit.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ describe('mergeObjects', () => {
198198
});
199199
});
200200

201+
it('should append upload config to plugins configs', () => {
202+
expect(mergeConfigs(MOCK_UPLOAD_CONFIG, MOCK_CONFIG_FULL_ESLINT)).toEqual({
203+
...MOCK_UPLOAD_CONFIG,
204+
...MOCK_CONFIG_FULL_ESLINT,
205+
});
206+
});
207+
201208
it('should replace API key in upload config', () => {
202209
expect(
203210
mergeConfigs(MOCK_UPLOAD_CONFIG, {

0 commit comments

Comments
 (0)