Use vitest globals (#27102)

Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing
the noise in test files.
This commit is contained in:
silverwind 2023-09-27 06:37:13 +02:00 committed by GitHub
parent 5ef5a0ade6
commit ee27b94b2c
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', () => {