(t *testing.T)
| 56 | } |
| 57 | |
| 58 | func TestLoadBundleFromJSONFile(t *testing.T) { |
| 59 | path := "../test/data/sigstore-js-2.1.0-bundle.json" |
| 60 | attestations, err := loadBundleFromJSONFile(path) |
| 61 | |
| 62 | require.NoError(t, err) |
| 63 | require.Len(t, attestations, 1) |
| 64 | } |
| 65 | |
| 66 | func TestGetLocalAttestations(t *testing.T) { |
| 67 | t.Run("with JSON file containing one bundle", func(t *testing.T) { |
nothing calls this directly
no test coverage detected