Skip to content

Commit

Permalink
add missing getEnforcing jest mock (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay authored Apr 5, 2024
1 parent 4f0d319 commit 69ef1b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest/clipboard-mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const ClipboardMock = {
hasURL: jest.fn().mockResolvedValue(true),
addListener: jest.fn(),
removeAllListeners: jest.fn(),
getEnforcing: jest.fn(),
};

const useClipboard = jest.fn(() => ['mockString', jest.fn()]);
Expand Down

0 comments on commit 69ef1b7

Please sign in to comment.