node-gradle/gradle-node-plugin

Add HTTPS support to integration tests

Open

#195 创建于 2021年9月7日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Groovy (122 fork)batch import
good first issuehelp wanted

仓库指标

Star
 (674 star)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南