I get legacy project. I going to test it. It\'s simple form handler on express.js. I\'ve use jest.spyOn(fs, \'writeFile\') and
jest.spyOn(fs, \'writeFile\')
beforeEach(() => {