Skip to content

Commit 59cbe2a

Browse files
Update src/elements/content-preview/__tests__/ContentPreview.test.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 22f5332 commit 59cbe2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/elements/content-preview/__tests__/ContentPreview.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ describe('elements/content-preview/ContentPreview', () => {
513513
expect(spy).not.toHaveBeenCalled();
514514
});
515515

516-
test('should return false if the file is not set', async () => {
516+
test('should return early if the file is not set', async () => {
517517
const wrapper = getWrapper(props);
518518
const instance = wrapper.instance();
519519
instance.isPreviewLibraryLoaded = jest.fn().mockReturnValue(true);

0 commit comments

Comments
 (0)