Skip to content

Commit

Permalink
Fix some typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerush committed Jan 31, 2024
1 parent 408576e commit a71a41d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docs/src/routes/docs/integrations/vitest/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ You can add vitest easily by using the following Qwik starter script:
npm run qwik add vitest
```

After running the command, vitest will be installed and a new component will be added to your project. The component will be added to the `src/components/example` directory as long as a new unit test is named `example.spec.ts`.
If you are looking for an example for a Component with QwikCity checkout [QwikCityMockProvider](/docs/(qwikcity)/api/index.mdx#qwikcitymockprovider)
After running the command, vitest will be installed and a new component will be added to your project. The component will be added to the `src/components/example` directory as long as a new unit test named `example.spec.tsx`.
If you are looking for an example for a Component with QwikCity checkout [QwikCityMockProvider](/docs/(qwikcity)/api/index.mdx#qwikcitymockprovider).

```tsx title="example.spec.ts"
```tsx title="example.spec.tsx"
import { createDOM } from '@builder.io/qwik/testing';
import { test, expect } from 'vitest';
import { ExampleTest } from './example';
Expand Down

0 comments on commit a71a41d

Please sign in to comment.