Skip to content

Commit

Permalink
fix: update libnpmpublish tests for sigstore 3.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Brian DeHamer <bdehamer@github.com>
  • Loading branch information
bdehamer authored and wraithgar committed Oct 15, 2024
1 parent 720b4d8 commit f75da94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workspaces/libnpmpublish/test/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ t.test('publish existing package with provenance in gha', async t => {
// Can't match length because in github actions certain environment
// variables are present that are not present when running locally,
// changing the payload size.
content_type: 'application/vnd.dev.sigstore.bundle+json;version=0.2',
content_type: 'application/vnd.dev.sigstore.bundle.v0.3+json',
},
},
}
Expand Down Expand Up @@ -1038,7 +1038,7 @@ t.test('publish existing package with provenance in gitlab', async t => {
// Can't match length because in github actions certain environment
// variables are present that are not present when running locally,
// changing the payload size.
content_type: 'application/vnd.dev.sigstore.bundle+json;version=0.2',
content_type: 'application/vnd.dev.sigstore.bundle.v0.3+json',
},
},
}
Expand Down

0 comments on commit f75da94

Please sign in to comment.