1
0
Fork 0
forked from forgejo/forgejo

Use vitest globals (#27102) (#27311)

Backport #27102 by @silverwind

Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing
the noise in test files.

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Giteabot 2023-09-27 22:10:08 +08:00 committed by GitHub
parent e4cf9d22a7
commit d74fba8175
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 13 additions and 11 deletions

View file

@ -1,4 +1,3 @@
import {expect, test} from 'vitest';
import {renderAnsi} from './ansi.js';
test('renderAnsi', () => {