Skip to content
Snippets Groups Projects
Verified Commit 93a7e68c authored by Loïs Poujade's avatar Loïs Poujade
Browse files

Disable broken test

The previous commit explicitly enable both selectors at the same time
parent 5f15bf9c
Branches
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ describe('CanvasAnnotationDisplay', () => { ...@@ -32,7 +32,7 @@ describe('CanvasAnnotationDisplay', () => {
subject.fragmentContext = jest.fn(); subject.fragmentContext = jest.fn();
subject.toContext(context); subject.toContext(context);
expect(subject.svgContext).toHaveBeenCalled(); expect(subject.svgContext).toHaveBeenCalled();
expect(subject.fragmentContext).not.toHaveBeenCalled(); // expect(subject.fragmentContext).not.toHaveBeenCalled();
}); });
it('selects fragmentSelector if present and if no svg is present', () => { it('selects fragmentSelector if present and if no svg is present', () => {
const context = { const context = {
...@@ -44,7 +44,7 @@ describe('CanvasAnnotationDisplay', () => { ...@@ -44,7 +44,7 @@ describe('CanvasAnnotationDisplay', () => {
subject.svgContext = jest.fn(); subject.svgContext = jest.fn();
subject.fragmentContext = jest.fn(); subject.fragmentContext = jest.fn();
subject.toContext(context); subject.toContext(context);
expect(subject.svgContext).not.toHaveBeenCalled(); // expect(subject.svgContext).not.toHaveBeenCalled();
expect(subject.fragmentContext).toHaveBeenCalled(); expect(subject.fragmentContext).toHaveBeenCalled();
}); });
it('ignores annotations without selectors', () => { it('ignores annotations without selectors', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment