Skip to content

Commit 6860375

Browse files
committed
Lint
1 parent 6d3c67d commit 6860375

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

src/monorepo-workflow-operations.test.ts

+19-10
Original file line numberDiff line numberDiff line change
@@ -398,13 +398,19 @@ describe('monorepo-workflow-operations', () => {
398398
it('follows the workflow correctly when executed twice', async () => {
399399
await withSandbox(async (sandbox) => {
400400
const releaseVersion = '1.1.0';
401-
const { project, stdout, stderr, createReleaseBranchSpy, commitAllChangesSpy, projectDirectoryPath } =
402-
await setupFollowMonorepoWorkflow({
403-
sandbox,
404-
releaseVersion,
405-
doesReleaseSpecFileExist: false,
406-
isEditorAvailable: true,
407-
});
401+
const {
402+
project,
403+
stdout,
404+
stderr,
405+
createReleaseBranchSpy,
406+
commitAllChangesSpy,
407+
projectDirectoryPath,
408+
} = await setupFollowMonorepoWorkflow({
409+
sandbox,
410+
releaseVersion,
411+
doesReleaseSpecFileExist: false,
412+
isEditorAvailable: true,
413+
});
408414

409415
createReleaseBranchSpy.mockResolvedValueOnce({
410416
version: releaseVersion,
@@ -428,11 +434,13 @@ describe('monorepo-workflow-operations', () => {
428434
});
429435

430436
expect(commitAllChangesSpy).toHaveBeenCalledTimes(2);
431-
expect(commitAllChangesSpy).toHaveBeenNthCalledWith(1,
437+
expect(commitAllChangesSpy).toHaveBeenNthCalledWith(
438+
1,
432439
projectDirectoryPath,
433440
`Initialize Release ${releaseVersion}`,
434441
);
435-
expect(commitAllChangesSpy).toHaveBeenNthCalledWith(2,
442+
expect(commitAllChangesSpy).toHaveBeenNthCalledWith(
443+
2,
436444
projectDirectoryPath,
437445
`Update Release ${releaseVersion}`,
438446
);
@@ -461,7 +469,8 @@ describe('monorepo-workflow-operations', () => {
461469
});
462470

463471
expect(commitAllChangesSpy).toHaveBeenCalledTimes(3);
464-
expect(commitAllChangesSpy).toHaveBeenNthCalledWith(3,
472+
expect(commitAllChangesSpy).toHaveBeenNthCalledWith(
473+
3,
465474
projectDirectoryPath,
466475
`Update Release ${releaseVersion}`,
467476
);

0 commit comments

Comments
 (0)