code.gitea.io/gitea@v1.21.7/web_src/js/modules/fetch.test.js (about)

     1  import {GET, POST, PATCH, PUT, DELETE} from './fetch.js';
     2  
     3  // tests here are only to satisfy the linter for unused functions
     4  test('exports', () => {
     5    expect(GET).toBeTruthy();
     6    expect(POST).toBeTruthy();
     7    expect(PATCH).toBeTruthy();
     8    expect(PUT).toBeTruthy();
     9    expect(DELETE).toBeTruthy();
    10  });