diff options
author | 2024-02-10 18:19:14 -0700 | |
---|---|---|
committer | 2024-02-13 06:59:44 +0530 | |
commit | 7584d2d7a7110aef0331ebfa178b2295842c59fa (patch) | |
tree | 900cd71237e6231b57936fcce77ff229cd459041 /tests/utils.ts | |
parent | upgrade recipes submodule (diff) | |
download | ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.gz ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.zst ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.zip |
refactor: project maintenance
- work in progress
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 14460b9..b60b867 100644 --- a/tests/utils.ts +++ b/tests/utils.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import View from '@ioc:Adonis/Core/View'; | 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 | View.global('csrfField', () => ''); | 5 | edge.global('csrfField', () => '') |
6 | } | 6 | } |