{"library":"fake","install":[{"cmd":"npm install fake","imports":["const Fake = require('fake');","const Fake = require('fake');\nconst target = { method: () => 'original' };\nconst f = new Fake(target, 'method', () => 'faked');\nf.run(); // Applies the fake method to target.method\n// ... test execution ...","const Fake = require('fake');\nconst target = { method: () => 'original' };\nconst f = new Fake(target, 'method', () => 'faked');\nf.run();\n// ... test execution ...\nf.restore(); // Reverts target.method to its original state"]},{"cmd":"yarn add fake","imports":[]},{"cmd":"pnpm add fake","imports":[]}]}