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

Tests seem broken locally #355

Open
justinfagnani opened this issue Mar 7, 2023 · 0 comments
Open

Tests seem broken locally #355

justinfagnani opened this issue Mar 7, 2023 · 0 comments

Comments

@justinfagnani
Copy link
Contributor

I tried running tests on a fresh checkout today and tests are failing.

When running with the current package-lock deps, I get:

  1) [chromium] › service-worker.spec.ts:265:3 › service worker › recover from outdated service worker 

    Test timeout of 5000ms exceeded.

When running after an npm update, I get a different error:

Error: Internal error: unexpected file imported in the worker: /Users/justin/Projects/Lit/playground-elements/web-dev-server.config.js
    at getFromCompilationCache (/Users/justin/Projects/Lit/playground-elements/node_modules/@playwright/test/lib/common/compilationCache.js:73:46)
    at transformHook (/Users/justin/Projects/Lit/playground-elements/node_modules/@playwright/test/lib/common/transform.js:134:53)
    at load (/Users/justin/Projects/Lit/playground-elements/node_modules/@playwright/test/lib/experimentalLoader.js:51:47)
    at nextLoad (node:internal/modules/esm/loader:164:28)
    at ESMLoader.load (node:internal/modules/esm/loader:600:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:452:22)
    at new ModuleJob (node:internal/modules/esm/module_job:64:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:475:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:429:34)
  ✘  1 [chromium] › service-worker.spec.ts:192:3 › service worker › simple fresh load (0ms)

and many similar errors.

macOS 13.2.1 / M1
Node 19.4.0

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