mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 13:24:13 +01:00
12 lines
336 B
JavaScript
12 lines
336 B
JavaScript
|
import {test, expect} from 'vitest';
|
||
|
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();
|
||
|
});
|