afterEach(function () { fs.watch.restore() if (cli.validateAction.restore) cli.validateAction.restore() if (cli.convertAction.restore) cli.convertAction.restore() if (cli.validator.restore) cli.validator.restore() if (cli.converter.restore) cli.converter.restore() logger.warn.restore() logger.log.restore() utils.parseJSON.restore() logger.error.restore() logger.print.restore() logger.success.restore() uis1Converter.convert.restore() bv1Converter.convert.restore() utils.getLegacyViewType.restore() fsp.writeFile.restore() fsp.readFile.restore() })
}).then(function() { return fs.writeFile.restore(); }).catch();
afterEach(function () { fsp.readFile.restore() fsp.writeFile.restore() utils.parseJSON.restore() validate.validateView.restore() })
afterEach(function(){ fs.writeFile.restore(); });
afterEach(function(){ this.clock.restore(); fs.createWriteStream.restore(); fs.writeFile.restore(); });