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. Odered list
  2. -
  3. Ordered list with styles and link +
  4. Ordered list with styles and link
    1. Nested ordered list
    2. Nested ordered list @@ -90,13 +90,13 @@ describe("portable text transformer", () => {


    -
    \"\"
    +

    Heading

    Heading little

    - - +
    12 - with bold text3 - with link inside
    4 - with link to content

    5 - with image in table

    -
    \"\"
    +
    12 - with bold text3 - with link inside
    4 - with link to content

    5 - with image in table

    +

    and style over the image

    6 - with list