From c4ce6883475500ee4138866609ddbfb1541fc8fe Mon Sep 17 00:00:00 2001 From: Henrik Fuchs Date: Thu, 27 Jun 2024 09:11:36 +0200 Subject: [PATCH] feat: allow tests to specify options that will be passed to update functions in tests Update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4717856..4b718e4 100644 --- a/README.md +++ b/README.md @@ -957,7 +957,7 @@ const createUpdateArgs = getCreateUpdateArgs(init, () => ({ /* initial props */ it("returns the correct model and cmd", async () => { // arrange - const args = createUpdateArgs(Msg.test(), { /* optionally override model here */ }, { /* optionally override props here */ }); + const args = createUpdateArgs(Msg.test(), { /* optionally override model here */ }, { /* optionally override props here */ }, { /* optionally override options here */ }); // act // Call the update handler