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');