Skip to content

Commit

Permalink
Merge pull request #27072 from storybookjs/norbert/fix-mock-test-cra
Browse files Browse the repository at this point in the history
Build: Add extension to prevent failure to load `.ts` files in CRA
  • Loading branch information
ndelangen authored May 9, 2024
2 parents 8787873 + 85690eb commit f9ca4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/test/template/stories/utils.mock.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fn } from '@storybook/test';
import * as utils from './utils';
import * as utils from './utils.ts';

export const foo = fn(utils.foo).mockName('foo');

0 comments on commit f9ca4d0

Please sign in to comment.