style: format with prettier

This commit is contained in:
Carlos
2024-08-13 20:05:53 -04:00
parent 7422ddf34b
commit 0e72a35ba7
13 changed files with 2058 additions and 98 deletions

View File

@@ -7,12 +7,17 @@ jest.mock('child_process');
describe('installDependencies', () => {
it('should install dependencies without errors', () => {
const execSyncMock = jest.spyOn(child_process, 'execSync').mockImplementation(() => {});
const execSyncMock = jest
.spyOn(child_process, 'execSync')
.mockImplementation(() => {});
installDependencies();
expect(execSyncMock).toHaveBeenCalledWith(expect.stringContaining('npm install'), expect.anything());
expect(execSyncMock).toHaveBeenCalledWith(
expect.stringContaining('npm install'),
expect.anything()
);
execSyncMock.mockRestore();
});
});