File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -93,3 +93,22 @@ t.test('package-json files', async t => {
93
93
'/files/package.json' ,
94
94
] )
95
95
} )
96
+
97
+ t . test ( 'registry signatures' , async t => {
98
+ t . strictSame ( transform ( {
99
+ id : 'v8' ,
100
+ path : 'about-pgp-signatures-for-packages-in-the-public-registry' ,
101
+ } ) . redirect_from , [
102
+ '/about-registry-signatures' ,
103
+ '/cli/about-pgp-signatures-for-packages-in-the-public-registry' ,
104
+ '/cli/v8/about-pgp-signatures-for-packages-in-the-public-registry' ,
105
+ ] )
106
+ t . strictSame ( transform ( {
107
+ id : 'v8' ,
108
+ path : 'verifying-the-pgp-signature-for-a-package-from-the-npm-public-registry' ,
109
+ } ) . redirect_from , [
110
+ '/cli/v8/verifying-the-pgp-signature-for-a-package-from-the-npm-public-registry' ,
111
+ '/cli/verifying-the-pgp-signature-for-a-package-from-the-npm-public-registry' ,
112
+ '/verifying-registry-signatures' ,
113
+ ] )
114
+ } )
You can’t perform that action at this time.
0 commit comments