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
No related branches found
No related tags found
1 merge request!10Minimal adaptation for images in annotations
Pipeline #1331 passed
......@@ -32,7 +32,7 @@ describe('CanvasAnnotationDisplay', () => {
subject.fragmentContext = jest.fn();
subject.toContext(context);
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', () => {
const context = {
......@@ -44,7 +44,7 @@ describe('CanvasAnnotationDisplay', () => {
subject.svgContext = jest.fn();
subject.fragmentContext = jest.fn();
subject.toContext(context);
expect(subject.svgContext).not.toHaveBeenCalled();
// expect(subject.svgContext).not.toHaveBeenCalled();
expect(subject.fragmentContext).toHaveBeenCalled();
});
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