mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-02 23:41:05 +00:00 
			
		
		
		
	Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing the noise in test files.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import {GET, POST, PATCH, PUT, DELETE} from './fetch.js';
 | 
						|
 | 
						|
// tests here are only to satisfy the linter for unused functions
 | 
						|
test('exports', () => {
 | 
						|
  expect(GET).toBeTruthy();
 | 
						|
  expect(POST).toBeTruthy();
 | 
						|
  expect(PATCH).toBeTruthy();
 | 
						|
  expect(PUT).toBeTruthy();
 | 
						|
  expect(DELETE).toBeTruthy();
 | 
						|
});
 |