File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 2020 steps :
2121 - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
2222 - name : Use Node.js ${{ matrix.node_version }}
23- uses : actions/setup-node@b4b18e5317cee56876918c4f099a680d3bca1cb8
23+ uses : actions/setup-node@30f0e7dc5aa0e546410a28dc80a10d8114ee873e
2424 with :
2525 node-version : ${{ matrix.node_version }}
2626 cache : npm
Original file line number Diff line number Diff line change @@ -192,9 +192,7 @@ x//0u+zd/R/QRUzLOw4N72/Hu+UG6MNt5iDZFCtapRaKt6OvSBwy8w==
192192 const mock = fetchMock
193193 . sandbox ( )
194194 . mock ( "https://api.github.com/user/starred/octocat/hello-world" , 204 , {
195- headers : {
196- "content-length" : 0 ,
197- } ,
195+ body : undefined ,
198196 } ) ;
199197
200198 request ( "PUT /user/starred/{owner}/{repo}" , {
@@ -590,11 +588,7 @@ x//0u+zd/R/QRUzLOw4N72/Hu+UG6MNt5iDZFCtapRaKt6OvSBwy8w==
590588 . catch ( ( error ) => {
591589 // We can't match on the entire string because the message differs between
592590 // Node versions.
593- //
594- // In v14 and v16, the message just mentions "signal" and has `instanceof`
595- // as one word, whereas in v18 it contains the stringified signal and uses
596- // proper English ("instance of").
597- expect ( error . message ) . toMatch ( / t o b e a n i n s t a n c e ? o f A b o r t S i g n a l / ) ;
591+ expect ( error . message ) . toMatch ( / A b o r t S i g n a l / ) ;
598592 } ) ;
599593 } ) ;
600594
You can’t perform that action at this time.
0 commit comments