diff options
author | silverwind <me@silverwind.io> | 2023-09-27 06:37:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 04:37:13 +0000 |
commit | ee27b94b2c84f6604cb0428d6c2a5611161aac14 (patch) | |
tree | 3ba1e48e66c9b236f2851708d5da230e7e2bb0b3 /vitest.config.js | |
parent | 5ef5a0ade6a49c0e55697a0adc9bd33ef9c83a48 (diff) | |
download | gitea-ee27b94b2c84f6604cb0428d6c2a5611161aac14.tar.gz gitea-ee27b94b2c84f6604cb0428d6c2a5611161aac14.zip |
Use vitest globals (#27102)
Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing
the noise in test files.
Diffstat (limited to 'vitest.config.js')
-rw-r--r-- | vitest.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vitest.config.js b/vitest.config.js index 49f59ba982..9a6cb4e560 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -11,6 +11,7 @@ export default defineConfig({ open: false, allowOnly: true, passWithNoTests: true, + globals: true, watch: false, }, plugins: [ |