# See more in assertions

If the expected and actual values make a longer message, the error message is truncated.

const fruits = ['Apples', 'Oranges', 'Pears', 'Kiwi']

Truncated error

You can control the truncate limit, it is part of the chai.config object

Chai config object

The full error message shows the two arrays now

The full arrays in the error message

Watch the video Increase Chai Truncate Threshold To Show More Information (opens new window)