diff --git a/commons/src/regex/alias.spec.ts b/commons/src/regex/alias.spec.ts index 1b6a8fca5..66c9ecc5d 100644 --- a/commons/src/regex/alias.spec.ts +++ b/commons/src/regex/alias.spec.ts @@ -4,6 +4,7 @@ * SPDX-License-Identifier: AGPL-3.0-only */ +// oxlint-disable jest/valid-title import { describe, expect, it } from '@jest/globals' import { ALIAS_REGEX } from './alias.js' diff --git a/html-to-react/src/index.spec.tsx b/html-to-react/src/index.spec.tsx index 2b0ecfe0e..f6ef622d4 100644 --- a/html-to-react/src/index.spec.tsx +++ b/html-to-react/src/index.spec.tsx @@ -5,11 +5,11 @@ */ import { renderToStaticMarkup } from 'react-dom/server' -import { convertHtmlToReact, ParserOptions } from './convertHtmlToReact.js' +import { convertHtmlToReact, type ParserOptions } from './convertHtmlToReact.js' import { convertNodeToReactElement } from './convertNodeToReactElement.js' import { Document, isTag, isText } from 'domhandler' -import { NodeToReactElementTransformer } from './NodeToReactElementTransformer.js' -import React, { ReactElement } from 'react' +import type { NodeToReactElementTransformer } from './NodeToReactElementTransformer.js' +import React, { type ReactElement } from 'react' import { describe, expect, it } from '@jest/globals' const expectSameHtml = function (html: string, options: ParserOptions = {}) { diff --git a/html-to-react/src/utils/convertInlineStyleToMap.spec.ts b/html-to-react/src/utils/convertInlineStyleToMap.spec.ts index b3c17806b..6accae4f5 100644 --- a/html-to-react/src/utils/convertInlineStyleToMap.spec.ts +++ b/html-to-react/src/utils/convertInlineStyleToMap.spec.ts @@ -3,6 +3,7 @@ * * SPDX-License-Identifier: AGPL-3.0-only */ +import { describe, expect, it } from '@jest/globals' import { convertInlineStyleToMap } from './convertInlineStyleToMap.js' describe('convertInlineStyleToMap', () => {