Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 14, 2024
1 parent d449d16 commit 4f31ed9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe("getCommonAncestor", () => {
it(`${nodeA} & ${nodeB} -> ${ancestor}`, () => {
// biome-ignore lint/style/noNonNullAssertion: <explanation>
const ancestorNode = fc.getCommonAncestor(fc.getNode(nodeA)!, fc.getNode(nodeB)!);
if(ancestor) {
if (ancestor) {
expect(ancestorNode?.blockRoot).toBe(ancestor);
} else {
expect(ancestorNode).toBeNull();
Expand Down

0 comments on commit 4f31ed9

Please sign in to comment.