diff --git a/src/core/client/embed/decorators/withSetCommentID.spec.ts b/src/core/client/embed/decorators/withSetCommentID.spec.ts index 1c6b92281..ed8f17e8b 100644 --- a/src/core/client/embed/decorators/withSetCommentID.spec.ts +++ b/src/core/client/embed/decorators/withSetCommentID.spec.ts @@ -11,7 +11,7 @@ it("should add commentID", () => { }, }; withSetCommentID(fakePym as any); - expect(location.toString()).toBe("http://localhost/?commentId=comment-id"); + expect(location.toString()).toBe("http://localhost/?commentID=comment-id"); window.history.replaceState(previousState, document.title, previousLocation); }); @@ -21,7 +21,7 @@ it("should remove commentID", () => { window.history.replaceState( previousState, document.title, - "http://localhost/?commentId=comment-id" + "http://localhost/?commentID=comment-id" ); const fakePym = { onMessage: (type: string, callback: () => void) => { diff --git a/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap b/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap index 95b463311..5da869b02 100644 --- a/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap +++ b/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap @@ -4,9 +4,6 @@ exports[`renders correctly 1`] = `