diff --git a/packages/renderer/tests/namedDestinations.test.js b/packages/renderer/tests/namedDestinations.test.jsx similarity index 94% rename from packages/renderer/tests/namedDestinations.test.js rename to packages/renderer/tests/namedDestinations.test.jsx index 074fd0238..09e1d32d2 100644 --- a/packages/renderer/tests/namedDestinations.test.js +++ b/packages/renderer/tests/namedDestinations.test.jsx @@ -1,4 +1,5 @@ -/* eslint-disable react/no-array-index-key */ +import { describe, expect, test } from 'vitest'; + import { Document, Font, Link, Page, Text, View } from '@react-pdf/renderer'; import renderToImage from './renderComponent'; diff --git a/packages/renderer/tests/snapshots/named-destinations-test-js-named-destinations-should-visually-match-snapshot-1-snap.png b/packages/renderer/tests/snapshots/named-destinations-test-jsx-tests-named-destinations-test-jsx-named-destinations-should-visually-match-snapshot-1-snap.png similarity index 100% rename from packages/renderer/tests/snapshots/named-destinations-test-js-named-destinations-should-visually-match-snapshot-1-snap.png rename to packages/renderer/tests/snapshots/named-destinations-test-jsx-tests-named-destinations-test-jsx-named-destinations-should-visually-match-snapshot-1-snap.png