node-gradle/gradle-node-plugin

Add HTTPS support to integration tests

Open

#195 opened on 2021年9月7日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)Groovy (122 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (674 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド