From afe6429aa6b300317e1b016e708064b53d2c0f3d Mon Sep 17 00:00:00 2001 From: Roman Rodionov Date: Mon, 26 Aug 2024 16:43:24 +0200 Subject: [PATCH] - fixed cyclic references - updated snapshots --- .../ketcher-core/src/domain/helpers/index.ts | 1 - packages/ketcher-core/src/index.ts | 1 + .../__snapshots__/RnaAccordion.test.tsx.snap | 2 +- .../RnaPresetGroup.test.tsx.snap | 4 +- .../__snapshots__/MonomerGroup.test.tsx.snap | 138 ++++++++++++------ .../__snapshots__/MonomerList.test.tsx.snap | 32 ++-- 6 files changed, 114 insertions(+), 64 deletions(-) diff --git a/packages/ketcher-core/src/domain/helpers/index.ts b/packages/ketcher-core/src/domain/helpers/index.ts index aa0c02681a..6fd7d82df9 100644 --- a/packages/ketcher-core/src/domain/helpers/index.ts +++ b/packages/ketcher-core/src/domain/helpers/index.ts @@ -18,4 +18,3 @@ export * from './scale'; export * from './stereoValidator'; export * from './functionalGroupsProvider'; export * from './saltsAndSolventsProvider'; -export * from './monomers'; diff --git a/packages/ketcher-core/src/index.ts b/packages/ketcher-core/src/index.ts index 8e653b6dbe..fae1909467 100644 --- a/packages/ketcher-core/src/index.ts +++ b/packages/ketcher-core/src/index.ts @@ -30,5 +30,6 @@ export * from 'application/ketcher'; export * from 'application/ketcher.types'; export * from 'application/ketcherBuilder'; export * from 'application/utils'; +export * from 'domain/helpers/monomers'; export * from 'utilities'; diff --git a/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaBuilder/RnaAccordion/__snapshots__/RnaAccordion.test.tsx.snap b/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaBuilder/RnaAccordion/__snapshots__/RnaAccordion.test.tsx.snap index 2741c61a4f..ea9eea37b2 100644 --- a/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaBuilder/RnaAccordion/__snapshots__/RnaAccordion.test.tsx.snap +++ b/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaBuilder/RnaAccordion/__snapshots__/RnaAccordion.test.tsx.snap @@ -89,7 +89,7 @@ exports[`Test Rna Accordion component should render 1`] = ` data-testid="rna-preset-group" >
diff --git a/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaPresetGroup/__snapshots__/RnaPresetGroup.test.tsx.snap b/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaPresetGroup/__snapshots__/RnaPresetGroup.test.tsx.snap index ecc5fb7843..0d1f27cb1b 100644 --- a/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaPresetGroup/__snapshots__/RnaPresetGroup.test.tsx.snap +++ b/packages/ketcher-macromolecules/src/components/monomerLibrary/RnaPresetGroup/__snapshots__/RnaPresetGroup.test.tsx.snap @@ -6,10 +6,10 @@ exports[`Test Rna Preset Group component should render 1`] = ` data-testid="rna-preset-group" >
diff --git a/packages/ketcher-macromolecules/src/components/monomerLibrary/monomerLibraryGroup/__snapshots__/MonomerGroup.test.tsx.snap b/packages/ketcher-macromolecules/src/components/monomerLibrary/monomerLibraryGroup/__snapshots__/MonomerGroup.test.tsx.snap index aa560aaff7..bf9291e3b4 100644 --- a/packages/ketcher-macromolecules/src/components/monomerLibrary/monomerLibraryGroup/__snapshots__/MonomerGroup.test.tsx.snap +++ b/packages/ketcher-macromolecules/src/components/monomerLibrary/monomerLibraryGroup/__snapshots__/MonomerGroup.test.tsx.snap @@ -2,11 +2,13 @@ exports[`Monomer Group should apply correct style if selected 1`] = `
- + R
- + R
- + m
- + d
- + ar
- + Ld
, "container":
- + R
- + m
- + d
- + ar
- + Ld
- + R
- + m
- + d
- + ar
- + Ld
- + R
- + m
- + d
- + ar
- + Ld
- + Phe4SD
- + Phe4SD
- + PEG2
- + PEG2