Skip to content

Commit

Permalink
update LinkService instantiation in AnnotationLayer.spec
Browse files Browse the repository at this point in the history
This is done to match the need to manually set the eventBus on a 
LinkService
  • Loading branch information
kylemellander committed Apr 13, 2020
1 parent cc78bed commit 62e83e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Page/AnnotationLayer.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ import failingPage from '../../__mocks__/_failing_page';
import {
loadPDF, makeAsyncCallback, muteConsole, restoreConsole,
} from '../../test-utils';
import eventBus from '../eventBus';

const pdfFile = loadPDF('./__mocks__/_pdf.pdf');

/* eslint-disable comma-dangle */

describe('AnnotationLayer', () => {
const linkService = new LinkService();
const linkService = new LinkService({ eventBus });

// Loaded page
let page;
Expand Down

0 comments on commit 62e83e3

Please sign in to comment.