diff options
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 | } |