mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-08-29 12:18:23 +02:00
The react-native bump caused pnpm to resolve two different vitest instances: - Root workspace: vitest@4.1.10 with terser@5.49.2 - packages/icons: vitest@4.1.10 with terser@5.49.0 Since packages/icons has its own vitest devDependency, pnpm installs it separately from the root. However, the vitest binary executed by pnpm uses the root's instance (terser@5.49.2), while the test files import from the package-level instance (terser@5.49.0), causing a dual-instance situation where the snapshot client state is initialized in one instance but accessed from another – resulting in 'snapshot state not found' errors. Fix: update the packages/icons lockfile entry to use the same terser@5.49.2 vitest instance as the root workspace. Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com>
786 KiB
786 KiB