[javascript] Chai의 Assertion 메서드 중 문자열과 관련된 메서드는?

이러한 Assertion 메서드를 사용하여 문자열에 대한 다양한 테스트를 수행할 수 있습니다. Chai에는 기타 유용한 Assertion 메서드도 많이 있으니 필요한 경우 공식 문서를 참조하시기 바랍니다.

const { assert } = require('chai');

// 예시
assert.equal('hello', 'hello');
assert.notEqual('hello', 'world');
assert.include('hello', 'ell');
assert.match('hello', /^h/);
assert.lengthOf('hello', 5);
assert.startsWith('hello', 'he');
assert.endsWith('hello', 'lo');