samlify
samlify copied to clipboard
Mock the validator module in unit tests
Current test suite requires validator to be imported, but there is no validator module specified in package.json.
In the script for TravisCI, the desired validator will be installed before running the test, so the core library will be tested with real validator before a new version of core library is deployed. However, developers of this core library shouldn't worry about the implementation of validator module.