From 82284a3ae5f960abd826f7187ec0418c086f5612 Mon Sep 17 00:00:00 2001 From: Flawid DSouza Date: Fri, 8 Mar 2024 21:59:54 +0530 Subject: [PATCH] fix(ui): Import > Insomnium export fails to import because of the new unit_test_suite type --- packages/ui/src/components/ImportModal.vue | 2 +- packages/ui/src/helpers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/components/ImportModal.vue b/packages/ui/src/components/ImportModal.vue index 2636dc8a..4c25643f 100644 --- a/packages/ui/src/components/ImportModal.vue +++ b/packages/ui/src/components/ImportModal.vue @@ -7,7 +7,7 @@ - + diff --git a/packages/ui/src/helpers.ts b/packages/ui/src/helpers.ts index ba8990d0..1766f187 100644 --- a/packages/ui/src/helpers.ts +++ b/packages/ui/src/helpers.ts @@ -556,7 +556,7 @@ export function convertInsomniaExportToRestfoxCollection(json, workspaceId) { const workspace = json.resources.find(item => item._type === 'workspace') - json.resources.filter(item => ['cookie_jar', 'api_spec', 'environment', 'proto_file'].includes(item._type) == false).forEach(item => { + json.resources.filter(item => ['cookie_jar', 'api_spec', 'environment', 'proto_file', 'unit_test_suite'].includes(item._type) == false).forEach(item => { if(item._type === 'workspace' || item._type === 'request_group') { let parentId = item.parentId