endWith
.endWith()
Tests that the tested string ends with the expected value.
Asserts that a string ends with the expected suffix.
Examples
Basic Usage
expect("str\ning").to.endWith("ing");Tests that the tested string ends with the expected value.
Asserts that a string ends with the expected suffix.
expect("str\ning").to.endWith("ing");