Const
Assertion for testing if a string has a specific length.
expect('hello', 'to have length', 5); // passesexpect('hi', 'to have length', 5); // fails Copy
expect('hello', 'to have length', 5); // passesexpect('hi', 'to have length', 5); // fails
string-to-have-length
strings
Assertion for testing if a string has a specific length.