Keploy Deduplication Library for tests
Deduplication works only on test mode there are no special instructions to record your tests.
-
npm i github:Sarthak160/keploy-deduplicate-tests
-
require('keploy-deduplicate-tests/dist/integrations/express/register')
on top of your server.js/app.js file -
sudo -E enterprise-server test -c "<your command to run node server>" --delay 10 --dedup
-
(optional)
keploy dedup --rm
to remove all the deduplication files