diff options
author | 2023-10-20 02:03:01 +0800 | |
---|---|---|
committer | 2023-10-19 13:03:01 -0500 | |
commit | 88869bafb649507eed159a37b087c8190adaa97a (patch) | |
tree | 40e5c991083c7ac55151ce3645eb6f34a04c8483 | |
parent | 0d4922dffe7d96b907db89ec502f77efd572cc56 (diff) | |
download | astro-88869bafb649507eed159a37b087c8190adaa97a.tar.gz astro-88869bafb649507eed159a37b087c8190adaa97a.tar.zst astro-88869bafb649507eed159a37b087c8190adaa97a.zip |
Set vite logLevel silent for test (#8868)
Diffstat (limited to '')
-rw-r--r-- | packages/astro/test/test-utils.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/astro/test/test-utils.js b/packages/astro/test/test-utils.js index 622ede1f6..8316d2fa5 100644 --- a/packages/astro/test/test-utils.js +++ b/packages/astro/test/test-utils.js @@ -99,6 +99,8 @@ export async function loadFixture(inlineConfig) { // Silent by default during tests to not pollute the console output inlineConfig.logLevel = 'silent'; + inlineConfig.vite ??= {}; + inlineConfig.vite.logLevel = 'silent'; let root = inlineConfig.root; // Handle URL, should already be absolute so just convert to path |