Skip to content

Commit

Permalink
test(mocks): remove unneseccary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
manushak committed Aug 5, 2024
1 parent 5dc924c commit 7d10693
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/__mocks__/fs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ export const writeFile = async (pathToFile: string, content: string) => {
}
} else if (pathToFile.includes('package.json-npm')) {
const updatedPath = pathToFile.replace('-npm', '');
// try {
// await fsAsync.appendFile(updatedPath, '\n');
// } catch (error) {
// console.log('---error', error);
// }
const fileContent = await fsAsync.readFile(updatedPath, 'utf8');

expect(content).toBe(fileContent);
Expand Down

0 comments on commit 7d10693

Please sign in to comment.