Skip to content

Commit 2d1328c

Browse files
author
Duncan Hsu
committed
test(annotations): remove unneeded unit test
1 parent 3a01e8f commit 2d1328c

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/lib/viewers/doc/__tests__/DocBaseViewer-test.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2674,16 +2674,6 @@ describe('src/lib/viewers/doc/DocBaseViewer', () => {
26742674
onRotateLeft: undefined,
26752675
});
26762676
});
2677-
2678-
test('should not pass onRotateLeft for non-PDF files even when rotate.enabled is true', () => {
2679-
jest.spyOn(docBase, 'featureEnabled').mockImplementation(feature => feature === 'rotate.enabled');
2680-
docBase.options.file.extension = 'ppt';
2681-
docBase.renderUI();
2682-
2683-
expect(getProps(docBase)).toMatchObject({
2684-
onRotateLeft: undefined,
2685-
});
2686-
});
26872677
});
26882678

26892679
describe('rotateLeft()', () => {

0 commit comments

Comments
 (0)