Skip to content

Commit f75da94

Browse files
bdehamerwraithgar
authored andcommittedOct 15, 2024··
fix: update libnpmpublish tests for sigstore 3.0.0
Signed-off-by: Brian DeHamer <[email protected]>
1 parent 720b4d8 commit f75da94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎workspaces/libnpmpublish/test/publish.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ t.test('publish existing package with provenance in gha', async t => {
486486
// Can't match length because in github actions certain environment
487487
// variables are present that are not present when running locally,
488488
// changing the payload size.
489-
content_type: 'application/vnd.dev.sigstore.bundle+json;version=0.2',
489+
content_type: 'application/vnd.dev.sigstore.bundle.v0.3+json',
490490
},
491491
},
492492
}
@@ -1038,7 +1038,7 @@ t.test('publish existing package with provenance in gitlab', async t => {
10381038
// Can't match length because in github actions certain environment
10391039
// variables are present that are not present when running locally,
10401040
// changing the payload size.
1041-
content_type: 'application/vnd.dev.sigstore.bundle+json;version=0.2',
1041+
content_type: 'application/vnd.dev.sigstore.bundle.v0.3+json',
10421042
},
10431043
},
10441044
}

0 commit comments

Comments
 (0)
Please sign in to comment.