test(frontend): replace jest with vitest

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2025-04-26 14:27:29 +02:00
parent 5241a6e988
commit 49bbd32635
No known key found for this signature in database
GPG key ID: FE1CD209E3EA5E85
188 changed files with 1364 additions and 1212 deletions

View file

@ -10,7 +10,7 @@ import { convertNodeToReactElement } from './convertNodeToReactElement.js'
import { Document, isTag, isText } from 'domhandler'
import { NodeToReactElementTransformer } from './NodeToReactElementTransformer.js'
import React, { ReactElement } from 'react'
import { describe, expect, it } from 'vitest'
import { beforeEach, describe, expect, it, vitest, beforeAll, afterAll } from 'vitest'
import { ElementType } from 'htmlparser2'
function parseHtmlToReactHtml(html: string, options: ParserOptions = {}) {