-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: squelch warnings in test suite (#11608)
* squelch a bunch of warnings * another * fix a flaky test * squelch console output for migrate tests --------- Co-authored-by: Rich Harris <[email protected]>
- Loading branch information
1 parent
af5571f
commit cb82cb9
Showing
8 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/kit/test/apps/basics/src/routes/load/invalidation/route/server/+layout.server.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/** @type {import('./$types').LayoutServerLoad} */ | ||
export function load({ route }) { | ||
return { route }; | ||
return { | ||
route: { ...route } | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/kit/test/apps/basics/src/routes/scroll/top/+page.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<div style="width:100%; height: 200vh; background-color: goldenrod"></div> | ||
<!-- svelte-ignore a11y-invalid-attribute --> | ||
<p><a href="#">#</a></p> | ||
<p><a href="#top">#top</a></p> |
2 changes: 1 addition & 1 deletion
2
packages/kit/test/apps/basics/src/routes/shadowed/dynamic/[slug]/+page.server.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/** @type {import('./$types').PageServerLoad} */ | ||
export function load({ params }) { | ||
return params; | ||
return { ...params }; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ | |
"vitest": "^1.0.4" | ||
}, | ||
"scripts": { | ||
"test": "vitest run", | ||
"test": "vitest run --silent", | ||
"check": "tsc" | ||
} | ||
} |