node-gradle/gradle-node-plugin

Add HTTPS support to integration tests

Open

#195 ouverte le 7 sept. 2021

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)Groovy (122 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (674 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur