Skip to content

[dev-server-hmr] Flaky test: should hot replace a module #1577

Open
@web-padawan

Description

@web-padawan

The following test is flaky and fails randomly in CI on unrelated changes:

      should hot replace a module:
     Error: Expected "<body> a  b </body>" in string: 

<html><head><script src="/foo.js" type="module"></script></head><body> a </body></html>
      at Object.expectIncludes (packages/dev-server-core/src/test-helpers.ts:69:11)
      at Context.<anonymous> (packages/dev-server-hmr/test/browser.test.ts:94:7)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

Example: https://github.com/modernweb-dev/web/pull/1573/checks?check_run_id=3161408376

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