Skip to content

injectConfigValues is not a function when passing --no-api + api in config #4222

@posva

Description

@posva

Describe the bug

I found this while upgrading versions. I use --no-api to disable the api when running on CI. This page in the docs currently has an example like this: https://vitest.dev/guide/cli.html#options

Reproduction

https://stackblitz.com/edit/but-report-no-api

System Info

(stackblitz)

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    Status

    Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions