Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout occurs for some external link #134

Open
yshrsmz opened this issue Jul 14, 2020 · 0 comments
Open

Timeout occurs for some external link #134

yshrsmz opened this issue Jul 14, 2020 · 0 comments

Comments

@yshrsmz
Copy link
Contributor

yshrsmz commented Jul 14, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant