Skip to content

Commit

Permalink
Fix tests after 1598abb
Browse files Browse the repository at this point in the history
  • Loading branch information
tnajdek committed Aug 21, 2024
1 parent 1598abb commit 4c0346e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/reader.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ describe('Reader', () => {
const iframe = container.querySelector('iframe');
let readerConfig;
const mockReader = {
setAnnotations: jest.fn()
setAnnotations: jest.fn(),
unsetAnnotations: jest.fn()
};

iframe.contentWindow.createReader = (_rc) => {
Expand Down Expand Up @@ -190,7 +191,8 @@ describe('Reader', () => {
let readerConfig;

const mockReader = {
setAnnotations: jest.fn()
setAnnotations: jest.fn(),
unsetAnnotations: jest.fn()
};

iframe.contentWindow.createReader = (_rc) => {
Expand Down

0 comments on commit 4c0346e

Please sign in to comment.