samlify icon indicating copy to clipboard operation
samlify copied to clipboard

Mock the validator module in unit tests

Open tngan opened this issue 5 years ago • 0 comments

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.

tngan avatar Apr 11 '20 14:04 tngan