diff --git a/tests/transfomers/portable-text-transformer/html-transformer.spec.ts b/tests/transfomers/portable-text-transformer/html-transformer.spec.ts index 2846adc..d82d455 100644 --- a/tests/transfomers/portable-text-transformer/html-transformer.spec.ts +++ b/tests/transfomers/portable-text-transformer/html-transformer.spec.ts @@ -1,6 +1,7 @@ import { Elements, ElementType } from "@kontent-ai/delivery-sdk"; -import { PortableTextOptions, toHTML, escapeHTML } from "@portabletext/to-html"; -import { resolveTable, nodeParse, transformToPortableText, browserParse } from "../../../src"; +import { escapeHTML,PortableTextOptions, toHTML } from "@portabletext/to-html"; + +import { browserParse,nodeParse, resolveTable, transformToPortableText } from "../../../src"; jest.mock('short-unique-id', () => { return jest.fn().mockImplementation(() => { diff --git a/tests/transfomers/portable-text-transformer/portable-text-transformer.spec.ts b/tests/transfomers/portable-text-transformer/portable-text-transformer.spec.ts index 4f2694f..3ac9acb 100644 --- a/tests/transfomers/portable-text-transformer/portable-text-transformer.spec.ts +++ b/tests/transfomers/portable-text-transformer/portable-text-transformer.spec.ts @@ -1,4 +1,4 @@ -import { IPortableTextItem, browserParse, nodeParse, transformToPortableText } from "../../../src"; +import { browserParse, IPortableTextItem, nodeParse, transformToPortableText } from "../../../src"; jest.mock('short-unique-id', () => { return jest.fn().mockImplementation(() => { @@ -77,7 +77,7 @@ describe("portable text transformer", () => {
Overlapping bold over itallic text
1 | 2 - with bold text | 3 - with link inside |
4 - with link to content | 5 - with image in table - + | |
1 | 2 - with bold text | 3 - with link inside |
4 - with link to content | 5 - with image in table +and style over the image | 6 - with list |