Chai plugin for XML validation using libxml-xsd
Chai plugin to allow XML Schemas (XSD) to be used with expect. This is currently a stub and is under heavy development. All contributions are welcome.
To install plugin simply run:
npm install chai-xsd-schema
Then add the following to your unit tests under your chai definition:
This plugin adds validWithSchema to the expect validation methods.
;; chai const expect = chaiexpect; ;