File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,15 @@ describe('draft', () => {
68
68
} ) ;
69
69
70
70
it ( 'asks the notary service to sign files' , ( ) => {
71
- // expect(notarizeArtifact).to.have.been.callCount(ALL_BUILD_VARIANTS.length);
71
+ expect ( notarizeArtifact ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length ) ;
72
72
} ) ;
73
73
74
74
it ( 'uploads artifacts to download center' , ( ) => {
75
- expect ( uploadArtifactToDownloadCenter ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length ) ;
76
- // expect(uploadArtifactToDownloadCenter).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2);
75
+ expect ( uploadArtifactToDownloadCenter ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length * 2 ) ;
77
76
} ) ;
78
77
79
78
it ( 'uploads the artifacts to the github release' , ( ) => {
80
- expect ( uploadReleaseAsset ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length ) ;
81
- // expect(uploadReleaseAsset).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2);
79
+ expect ( uploadReleaseAsset ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length * 2 ) ;
82
80
} ) ;
83
81
} ) ;
84
82
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ export async function runDraft(
44
44
tmpDir
45
45
) ;
46
46
47
- /*
48
- // pending https://jira.mongodb.org/browse/BUILD-14385
49
47
await notarizeArtifact (
50
48
tarballFile . path ,
51
49
{
@@ -55,12 +53,10 @@ export async function runDraft(
55
53
}
56
54
) ;
57
55
const signatureFile = tarballFile . path + '.sig' ;
58
- */
59
- void notarizeArtifact ;
60
56
61
57
await Promise . all ( [
62
58
[ downloadedArtifact , tarballFile . contentType ] ,
63
- // [ signatureFile, 'application/pgp-signature' ]
59
+ [ signatureFile , 'application/pgp-signature' ]
64
60
] . flatMap ( ( [ path , contentType ] ) => [
65
61
uploadToDownloadCenter (
66
62
path ,
You can’t perform that action at this time.
0 commit comments