aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/modules/fetch.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/modules/fetch.test.ts')
-rw-r--r--web_src/js/modules/fetch.test.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/web_src/js/modules/fetch.test.ts b/web_src/js/modules/fetch.test.ts
new file mode 100644
index 0000000000..c40016b748
--- /dev/null
+++ b/web_src/js/modules/fetch.test.ts
@@ -0,0 +1,10 @@
+import {GET, POST, PATCH, PUT, DELETE} from './fetch.ts';
+
+// 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();
+});