From bc7486e9067af605b17612fcce6f1c1f2c394208 Mon Sep 17 00:00:00 2001 From: Arturo Sanchez Date: Fri, 8 Nov 2024 15:42:02 +0100 Subject: [PATCH] chore: example of detecting errors --- tests/lib/extend.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/extend.test.ts b/tests/lib/extend.test.ts index 8e6b218..4f1c4ed 100644 --- a/tests/lib/extend.test.ts +++ b/tests/lib/extend.test.ts @@ -10,7 +10,7 @@ it('should extend wrapito', async () => { const { wrap } = configure({ mount: render, extend: { - withLogin: ({ addResponses }, username: string) => + withLogin: ({ addResponses }, username: string, test: boolean) => addResponses([ { path: '/path/to/login/',