Skip to content

Commit c81bc1e

Browse files
committed
test(deploy): resolve TypeScript strict null check in deploy analytics test
1 parent a4138e4 commit c81bc1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/tests/components/FileViewer.deploy-analytics.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe('FileViewer deploy analytics attribution', () => {
143143
(call: any[]) => call[0] === 'artifact_deploy_result',
144144
);
145145
expect(trackCalls.length).toBeGreaterThan(0);
146-
const props = trackCalls[0][1] as Record<string, unknown>;
146+
const props = trackCalls[0]![1] as Record<string, unknown>;
147147
expect(props).toMatchObject({
148148
page_name: 'artifact',
149149
area: 'deploy_modal',

0 commit comments

Comments
 (0)