Skip to content

Commit 56cc7ff

Browse files
authored
style(channels): wrap over-long assertion line in mention composer test
Generated-By: PostHog Code Task-Id: a2ff8500-aaa6-4ce0-b01a-656d3b2c3b61
1 parent 131f261 commit 56cc7ff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/ui/src/features/canvas/utils/mentionComposer.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ describe("applyMention", () => {
9797
expect(result.text).toBe(
9898
"hey @[Raquel Smith](raquel@posthog.com) can you look",
9999
);
100-
expect(result.caret).toBe("hey @[Raquel Smith](raquel@posthog.com) ".length);
100+
expect(result.caret).toBe(
101+
"hey @[Raquel Smith](raquel@posthog.com) ".length,
102+
);
101103
});
102104

103105
it("consumes the rest of the @word when the caret moved backward", () => {

0 commit comments

Comments
 (0)