Open nshaikhinurov opened 4 years ago
There is an inconsistent behavior in .toBeEmpty() matcher. expect('').toBeEmpty() throws in cypress environment with AssertionError: expected '' to be empty but passes as expected in usual jest tests. However expect('').to.be.empty works fine
.toBeEmpty()
expect('').toBeEmpty()
AssertionError: expected '' to be empty
expect('').to.be.empty
also expect('usd/eur').toNotBeEmpty() throws with Error: Syntax error, unrecognized expression: usd/eur
expect('usd/eur').toNotBeEmpty()
Error: Syntax error, unrecognized expression: usd/eur
There is an inconsistent behavior in
.toBeEmpty()
matcher.expect('').toBeEmpty()
throws in cypress environment withAssertionError: expected '' to be empty
but passes as expected in usual jest tests. Howeverexpect('').to.be.empty
works fine