mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-26 03:38:51 +08:00
Use vitest globals (#27102)
Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing the noise in test files.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import {test, expect} from 'vitest';
|
||||
import {matchEmoji, matchMention} from './match.js';
|
||||
|
||||
test('matchEmoji', () => {
|
||||
|
Reference in New Issue
Block a user