mirror of
https://github.com/actions/toolkit.git
synced 2026-08-25 00:00:27 +02:00
build provenance stmt from OIDC claims
Signed-off-by: Brian DeHamer <[email protected]>
This commit is contained in:
@@ -38,7 +38,7 @@ describe('writeAttestation', () => {
|
||||
.reply(500, 'oops')
|
||||
})
|
||||
|
||||
it('persists the attestation', async () => {
|
||||
it('throws an error', async () => {
|
||||
await expect(writeAttestation(attestation, token)).rejects.toThrow(/oops/)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user