Skip to content

test: introduce test-vitest-setup project to handle test setup for vite tests #1065

@BioPhoton

Description

@BioPhoton

Introduce test-vitest-setup project to handle test setup for vite tests

  • Introduce test-vitest-setup and add configuration
    • adjust coverage.reportDirectory to be at project root (packages/<name>/.coverage)
  • Extend vitest.{targetName}.config.ts from test-vitest-setup configuration
    • unit tests
    • int tests
    • e2e tests
  • Rename nx-plugin/mock to models/mocks and adjust inputs
  • Move zod2md.ts under {projectRoot}/tools and make sure "!{projectRoot}/tools/**/*" is added under nx.json#namedInputs.production

Example implementation:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions