Skip to content

Commit

Permalink
Fix invalid path in CONTRIBUTING.md (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo authored Oct 2, 2023
1 parent 957d2c3 commit acd2aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ This will run tests and then listen for changes, re-running tests when files cha
A lot of Starlight code relies on Vite virtual modules provided either by Astro or by Starlight itself. Each subdirectory of `packages/starlight/__tests__/` should contain a `vitest.config.ts` file that uses the `defineVitestConfig()` helper to define a valid test environment for tests in that directory. This helper takes a single argument, which provides a Starlight user config object:

```ts
// packages/starlight/__tests/basics/vitest.config.ts
// packages/starlight/__tests__/basics/vitest.config.ts
import { defineVitestConfig } from '../test-config';

export default defineVitestConfig({
Expand Down

0 comments on commit acd2aa1

Please sign in to comment.