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

Theme tests timesout often #276

Closed
tanhakabir opened this issue May 11, 2021 · 2 comments
Closed

Theme tests timesout often #276

tanhakabir opened this issue May 11, 2021 · 2 comments

Comments

@tanhakabir
Copy link
Contributor

The theme tests timesout every time on the first build but on a re-run it's fine.

Seeing this:

1) test code generator
       theme import:
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/tanha/Documents/GitHub/msft-vscode-generator-code/test/test.js)
      at listOnTimeout (node:internal/timers:556:17)
      at processTimers (node:internal/timers:499:7)
@aeschli
Copy link
Contributor

aeschli commented Jul 2, 2021

The tests fetch a theme file from http://www.monokai.nl/blog/wp-content/asdev/Monokai.tmTheme.
This seems to work for me, I don't see the time out. But we could change this to a local URL.

@aeschli
Copy link
Contributor

aeschli commented Sep 22, 2021

Remove the test. We have another test that tests loading from a file.

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

2 participants