Skip to content

Commit 1e7fc84

Browse files
committed
Handle rename of preview.tsx -> preview.ts in test
1 parent 22169ae commit 1e7fc84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

node-src/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -802,11 +802,11 @@ it('should upload metadata files if --upload-metadata is passed', async () => {
802802
contentLength: expect.any(Number),
803803
contentType: 'text/typescript',
804804
fileKey: '',
805-
filePath: '.chromatic/preview.tsx',
805+
filePath: '.chromatic/preview.ts',
806806
formAction: 'https://s3.amazonaws.com',
807807
formFields: {},
808-
localPath: '.storybook/preview.tsx',
809-
targetPath: '.chromatic/preview.tsx',
808+
localPath: '.storybook/preview.ts',
809+
targetPath: '.chromatic/preview.ts',
810810
},
811811
{
812812
contentLength: expect.any(Number),

0 commit comments

Comments
 (0)