Skip to content

Commit

Permalink
precommit hook test prettier after merge with main #901
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Kirimi committed Apr 20, 2021
1 parent 7e04b84 commit 29bf00f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ describe("nodeContextMenuController", () => {
const mockedMouseEvent: any = {
composedPath: () => [{ nodeName: "CC-NODE-CONTEXT-MENU-COLOR-PICKER" }]
}

nodeContextMenuController.onBodyLeftClickHideNodeContextMenu(mockedMouseEvent)

expect(broadcastHideEventSpy).not.toHaveBeenCalled()
Expand All @@ -515,6 +516,7 @@ describe("nodeContextMenuController", () => {
const mockedMouseEvent: any = {
composedPath: () => [{ nodeName: "DIV" }]
}

nodeContextMenuController.onBodyLeftClickHideNodeContextMenu(mockedMouseEvent)

expect(broadcastHideEventSpy).toHaveBeenCalled()
Expand Down

0 comments on commit 29bf00f

Please sign in to comment.