From 4cfabc03e3fc1183f4b7c8eb110ccfe8a61b49db Mon Sep 17 00:00:00 2001 From: Tom Gobich Date: Sat, 22 Jun 2024 11:37:13 -0400 Subject: [PATCH] fix: test expectations to match new destructure default --- tests/commands/make_action.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/commands/make_action.spec.ts b/tests/commands/make_action.spec.ts index 454d04d..4f55043 100644 --- a/tests/commands/make_action.spec.ts +++ b/tests/commands/make_action.spec.ts @@ -22,7 +22,7 @@ test.group('MakeAction', (group) => { ) await assert.fileContains( 'app/actions/store_user_from_form.ts', - `static async handle(_: Params) {` + `static async handle({}: Params) {` ) }) @@ -41,7 +41,7 @@ test.group('MakeAction', (group) => { ) await assert.fileContains( 'app/actions/users/update_user_from_form.ts', - `static async handle(_: Params) {` + `static async handle({}: Params) {` ) })