Skip to content

Commit 94a6663

Browse files
author
Duncan Hsu
committed
test(annotations): remove unneeded unit test
1 parent 30ae407 commit 94a6663

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
@@ -2726,16 +2726,6 @@ describe('src/lib/viewers/doc/DocBaseViewer', () => {
27262726
onRotateLeft: undefined,
27272727
});
27282728
});
2729-
2730-
test('should not pass onRotateLeft for non-PDF files even when rotate.enabled is true', () => {
2731-
jest.spyOn(docBase, 'featureEnabled').mockImplementation(feature => feature === 'rotate.enabled');
2732-
docBase.options.file.extension = 'ppt';
2733-
docBase.renderUI();
2734-
2735-
expect(getProps(docBase)).toMatchObject({
2736-
onRotateLeft: undefined,
2737-
});
2738-
});
27392729
});
27402730

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

0 commit comments

Comments
 (0)