mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01: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 {singleAnchorRegex, rangeAnchorRegex} from './repo-code.js';
 | 
			
		||||
 | 
			
		||||
test('singleAnchorRegex', () => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user