node-gradle/gradle-node-plugin

Add HTTPS support to integration tests

Open

#195 aperta il 7 set 2021

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Groovy (122 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (674 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

With no changes in the code we've started getting failures like this:

java.lang.AssertionError: Request not found exactly once, expected:<{
          "method" : "GET",
          "path" : "/case",
          "headers" : {
            "Host" : [ "registry.npmjs.org:80" ]
          },
          "secure" : false
        }> but was:<{
          "method" : "POST",
          "path" : "/-/npm/v1/security/audits/quick",

We probably just need to disable audits in the integration tests since we're mocking for proxy testing purposes.

Guida contributor