Skip to content

Commit

Permalink
Update test/plugins/trigger.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: y-oksaku <43719835+y-oksaku@users.noreply.github.com>
  • Loading branch information
yakanechi and y-oksaku committed Jun 6, 2024
1 parent 94890f1 commit 262ed58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugins/trigger.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2161,7 +2161,7 @@ describe('trigger tests', () => {

const downstreamRestartEvent = await downstreamEvent.restartFrom('c');

assert.equal(await downstreamRestartEvent.getBuildOf('b'), null);
assert.isNull(downstreamRestartEvent.getBuildOf('b'));
await downstreamRestartEvent.getBuildOf('c').complete('SUCCESS');

const upstreamRestartEvent = upstreamPipeline.getLatestEvent();
Expand Down

0 comments on commit 262ed58

Please sign in to comment.