Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ Test samples are kept in `/test/xxx/samples` folder.
1. To run test, run `pnpm test`.
1. To run a particular test suite, use `pnpm test <suite-name>`, for example:

```bash
```sh
pnpm test validator
```

1. To filter tests _within_ a test suite, use `pnpm test <suite-name> -t <test-name>`, for example:

```bash
```sh
pnpm test validator -t a11y-alt-text
```

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/01-introduction/02-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Getting started

We recommend using [SvelteKit](../kit), which lets you [build almost anything](../kit/project-types). It's the official application framework from the Svelte team and powered by [Vite](https://vite.dev/). Create a new project with:

```bash
```sh
npx sv create myapp
cd myapp
npm install
Expand Down
4 changes: 2 additions & 2 deletions documentation/docs/07-misc/02-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Unit tests allow you to test small isolated parts of your code. Integration test

To setup Vitest manually, first install it:

```bash
```sh
npm install -D vitest
```

Expand Down Expand Up @@ -166,7 +166,7 @@ It is possible to test your components in isolation using Vitest.

To get started, install jsdom (a library that shims DOM APIs):

```bash
```sh
npm install -D jsdom
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /

To automate this, run the dedicated migration:

```bash
```sh
npx sv migrate self-closing-tags
```

Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can play around with Svelte in the [tutorial](https://svelte.dev/tutorial),

When you're ready to build a full-fledge application, we recommend using [SvelteKit](https://svelte.dev/docs/kit):

```bash
```sh
npx sv create my-app
cd my-app
npm install
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/messages/compile-warnings/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /

To automate this, run the dedicated migration:

```bash
```sh
npx sv migrate self-closing-tags
```

Expand Down
Loading