Skip to content

Documentation for .env.test file for unit tests #972

@mexxmann

Description

@mexxmann

#655 added support for reading .env.test file and also overriding the filename in vitest.config.ts - however, this is not documented at https://nuxt.com/docs/getting-started/testing

It would be good to add some documentation about how do get your .env file working in unit tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions