From 52b95c94bccee2f51435a76c772b711ce4800c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Wed, 31 Jan 2024 14:12:02 +0100 Subject: [PATCH] Fixes test --- tests/specs/lazy.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/specs/lazy.test.ts b/tests/specs/lazy.test.ts index d2ed4dc..06f00f8 100644 --- a/tests/specs/lazy.test.ts +++ b/tests/specs/lazy.test.ts @@ -4,7 +4,9 @@ describe(`Lazy commands`, () => { it(`should lazy-load commands based on the arguments`, async () => { const commands = await lazyTree([`foo`], { foo: {value: 1}, - }); + }, async val => [ + val, + ]); expect(commands).toEqual([ 1,