Skip to content

Timeout occurs for some external link #134

Open
@yshrsmz

Description

@yshrsmz

check https://www.jal.co.jp/jp/ja/

tester.run('no-dead-link', rule, {
  valid: [
    {
      text: 'jal: https://www.jal.co.jp/jp/ja/',
    },
  invalid: [

  ],
});

Above test case causes following error.

1) no-dead-link
       jal: https://www.jal.co.jp/jp/ja/:
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/yshrmsz/repos/github.com/yshrsmz/textlint-rule-no-dead-link/test/no-dead-link.js)
      at listOnTimeout (internal/timers.js:549:17)
      at processTimers (internal/timers.js:492:7)

Adding User-Agent(Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36) results in the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions