More test corrections

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2024-09-10 20:32:16 -05:00
parent 9b72729629
commit 84ba741543
+2 -2
View File
@@ -211,12 +211,12 @@ describe('tasks', () => {
expect(mockChdir).toHaveBeenNthCalledWith(1, appDir);
expect(mockExec).toHaveBeenCalledTimes(2);
expect(mockExec).toHaveBeenNthCalledWith(
2,
1,
'yarn install',
expect.any(Function),
);
expect(mockExec).toHaveBeenNthCalledWith(
3,
2,
'yarn tsc',
expect.any(Function),
);