Files
gchust 22b967274a feat(file-example): add one-to-one and one-to-many file relation examples (#193)
* chore: add file to example app

* fix(file-example): record the plugin's lucide-react dependency in the lockfile

The upload, list and preview components import lucide-react, which the plugin
declares as a peer. The importer entry was missing from pnpm-lock.yaml, so
`pnpm install --frozen-lockfile` failed with ERR_PNPM_OUTDATED_LOCKFILE and
took every job in the CI run with it.
2026-09-11 18:56:40 +08:00

8 lines
218 B
TypeScript

import { createReactVitestConfig } from '@nocobase/dev-config/vitest/react';
export default createReactVitestConfig({
test: {
include: ['tests/**/*.test.{ts,tsx}'],
setupFiles: ['./tests/setup.ts'],
},
});