From 561ad9813eb7b67a3801f2e66d587553290830dd Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Tue, 7 May 2024 14:59:32 +0200 Subject: [PATCH] fix mock name --- code/lib/test/template/stories/utils.mock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/test/template/stories/utils.mock.ts b/code/lib/test/template/stories/utils.mock.ts index 15c648e88c00..80fac1f308f2 100644 --- a/code/lib/test/template/stories/utils.mock.ts +++ b/code/lib/test/template/stories/utils.mock.ts @@ -1,4 +1,4 @@ import { fn } from '@storybook/test'; import * as utils from './utils'; -export const foo = fn(utils.foo); +export const foo = fn(utils.foo).mockName('foo');