Remove unnecessary window promise (#1488)

This commit is contained in:
Mihir Rane 2021-02-18 20:52:55 +05:30 committed by GitHub
parent 156a687f40
commit 50cbc4d63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,6 @@ describe('Editor basic initialization', () => {
}); });
it('should create a visible UI', () => { it('should create a visible UI', () => {
cy.window().then((window) => {
/** /**
* Assert if created instance is visible or not. * Assert if created instance is visible or not.
*/ */
@ -26,5 +25,4 @@ describe('Editor basic initialization', () => {
.should('be.visible'); .should('be.visible');
}); });
}); });
});
}); });