diff options
Diffstat (limited to '')
-rw-r--r-- | web_src/js/modules/fetch.test.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web_src/js/modules/fetch.test.js b/web_src/js/modules/fetch.test.js new file mode 100644 index 0000000..e4bec3c --- /dev/null +++ b/web_src/js/modules/fetch.test.js @@ -0,0 +1,10 @@ +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(); +}); |