Show only message

This commit is contained in:
Andreas Hocevar
2022-08-22 08:53:20 +02:00
parent 4e9626ef60
commit a04ff795b5
2 changed files with 2 additions and 4 deletions

View File

@@ -9,9 +9,7 @@ describe('ol/AssertionError.js', function () {
it('generates a message with a versioned url', function () {
const error = new AssertionError(42);
expect(error.message).to.be(
'Assertion failed. Question unknown, the answer is 42.'
);
expect(error.message).to.be('Question unknown, the answer is 42');
});
it('has an error code', function () {