tylasu icon indicating copy to clipboard operation
tylasu copied to clipboard

assertASTsAreEqual: don't depend on Chai

Open alessiostalla opened this issue 1 year ago • 0 comments

For the future: we could throw an exception of our own, and provide the Chai integration as a separate module, so that users may write e.g. expect(someNode).to.equalAST(someOtherNode). Here's an example of such an integration: https://github.com/krampstudio/chai-xml

alessiostalla avatar Jan 25 '23 09:01 alessiostalla