@@ -41,11 +41,9 @@ describe("native workflow evidence recorder", () => {
4141 const evidence = await listNativeWorkflowEvidence ( { repoRoot } ) ;
4242
4343 expect ( evidence ) . toMatchObject ( {
44- status : "partial "
44+ status : "complete "
4545 } ) ;
46- expect ( evidence . missingEvidence ) . toContain (
47- "green native release workflow run on the release candidate commit through next push or manual workflow_dispatch"
48- ) ;
46+ expect ( evidence . missingEvidence ) . toEqual ( [ ] ) ;
4947 } ) ;
5048
5149 it ( "requires workflow run and both platform artifacts before marking complete" , async ( ) => {
@@ -100,6 +98,12 @@ describe("native workflow evidence recorder", () => {
10098
10199 it ( "records a green workflow run without mutating during dry-run" , async ( ) => {
102100 const tempRepo = await createTempRepo ( ) ;
101+ const beforeManifest = JSON . parse (
102+ await readFile (
103+ join ( tempRepo , "docs/release/evidence/native-release-workflow.json" ) ,
104+ "utf8"
105+ )
106+ ) ;
103107 const result = await recordNativeWorkflowEvidence ( {
104108 androidArtifact :
105109 "https://github.com/example/repo/actions/runs/1/artifacts/android" ,
@@ -121,7 +125,7 @@ describe("native workflow evidence recorder", () => {
121125 dryRun : true ,
122126 status : "complete"
123127 } ) ;
124- expect ( manifest . status ) . toBe ( "partial" ) ;
128+ expect ( manifest ) . toEqual ( beforeManifest ) ;
125129 } ) ;
126130
127131 it ( "requires local artifact evidence files to exist when artifact values are not URLs" , async ( ) => {
0 commit comments