You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/index.test.js
+6-6
Original file line number
Diff line number
Diff line change
@@ -475,7 +475,7 @@ test.serial('Force a dry-run if not on a CI and "noCi" is not explicitly set', a
475
475
});
476
476
t.truthy(awaitsemanticRelease(options));
477
477
478
-
t.is(t.context.log.args[0][0],'This run was not triggered in a known CI environment, running in dry-run mode.');
478
+
t.is(t.context.log.args[1][0],'This run was not triggered in a known CI environment, running in dry-run mode.');
479
479
t.is(verifyConditions.callCount,1);
480
480
t.is(analyzeCommits.callCount,1);
481
481
t.is(verifyRelease.callCount,1);
@@ -596,7 +596,7 @@ test.serial('Returns falsy value if triggered by a PR', async t => {
596
596
597
597
t.falsy(awaitsemanticRelease({repositoryUrl}));
598
598
t.is(
599
-
t.context.log.args[8][0],
599
+
t.context.log.args[9][0],
600
600
"This run was triggered by a pull request and therefore a new version won't be published."
601
601
);
602
602
});
@@ -623,7 +623,7 @@ test.serial('Returns falsy value if not running from the configured branch', asy
623
623
624
624
t.falsy(awaitsemanticRelease(options));
625
625
t.is(
626
-
t.context.log.args[0][0],
626
+
t.context.log.args[1][0],
627
627
'This test run was triggered on the branch other-branch, while semantic-release is configured to only publish from master, therefore a new version won’t be published.'
628
628
);
629
629
});
@@ -661,7 +661,7 @@ test.serial('Returns falsy value if there is no relevant changes', async t => {
661
661
t.is(verifyRelease.callCount,0);
662
662
t.is(generateNotes.callCount,0);
663
663
t.is(publish.callCount,0);
664
-
t.is(t.context.log.args[6][0],'There are no relevant changes, so no new version is released.');
664
+
t.is(t.context.log.args[7][0],'There are no relevant changes, so no new version is released.');
665
665
});
666
666
667
667
test.serial('Exclude commits with [skip release] or [release skip] from analysis',asynct=>{
@@ -723,8 +723,8 @@ test.serial('Hide sensitive environment variable values from the logs', async t
0 commit comments