diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-02-10 18:37:40 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2024-02-13 06:59:44 +0530 |
commit | e1c47572a6235fd8fd20af888ac3a11c7ae1369d (patch) | |
tree | 2dccff36a441916d7014037cef3f7ce84a790cad /tests/utils.ts | |
parent | refactor: project maintenance (diff) | |
download | ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.gz ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.zst ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.zip |
updates
Diffstat (limited to 'tests/utils.ts')
-rw-r--r-- | tests/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.ts b/tests/utils.ts index b60b867..db6edee 100644 --- a/tests/utils.ts +++ b/tests/utils.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import edge from 'edge.js' | 1 | import edge from 'edge.js'; |
2 | 2 | ||
3 | export function fakeCsrfField(): void { | 3 | export function fakeCsrfField(): void { |
4 | // Create fake csrField function in the view | 4 | // Create fake csrField function in the view |
5 | edge.global('csrfField', () => '') | 5 | edge.global('csrfField', () => ''); |
6 | } | 6 | } |