Skip to content

Commit 989492f

Browse files
authored
fix: use "set up" (verb) instead of "setup" (noun) in comments (#17632)
"Setup" is a noun/adjective, while "set up" is the verb form.
1 parent 6e5f2b1 commit 989492f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

documentation/docs/07-misc/02-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export default defineConfig({
181181
/* ... */
182182
],
183183
test: {
184-
// If you are testing components client-side, you need to setup a DOM environment.
184+
// If you are testing components client-side, you need to set up a DOM environment.
185185
// If not all your files should have this environment, you can use a
186186
// `// @vitest-environment jsdom` comment at the top of the test files instead.
187187
environment: 'jsdom'

packages/svelte/tests/signals/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { disable_async_mode_flag, enable_async_mode_flag } from '../../src/inter
2121

2222
/**
2323
* @param runes runes mode
24-
* @param fn A function that returns a function because we first need to setup all the signals
24+
* @param fn A function that returns a function because we first need to set up all the signals
2525
* and then execute the test in order to simulate a real component
2626
*/
2727
function run_test(runes: boolean, fn: (runes: boolean) => () => void) {

0 commit comments

Comments
 (0)