web icon indicating copy to clipboard operation
web copied to clipboard

Node tests failing on Windows

Open justinfagnani opened this issue 1 month ago • 0 comments

CI looks like it's consistently failing on Node tests on Windows.

Example test run: https://github.com/modernweb-dev/web/actions/runs/8848138633/job/24297385401

The failure appears to be:

Failed test file: Webkit test\snapshot\browser-test.js
can store snapshots containing # character   at AssertionError (..\..\node_modules\chai\chai.js:9200:22)
  at ..\..\node_modules\chai\chai.js:250:31
  at assertEqual (..\..\node_modules\chai\chai.js:1409:18)
  at methodWrapper (..\..\node_modules\chai\chai.js:7884:30)
  at test\snapshot\browser-test.js:118:34
!

  16 passing (53s)
  1 pending
  1 failing

  1) snapshotPlugin
       passes snapshot tests:
     Error: Test run did not pass
      at EventEmitter.<anonymous> (D:\a\web\web\packages\test-runner-core\dist\test-helpers.js:120:24)
      at EventEmitter.emit (node:events:518:28)
      at EventEmitter.emit (node:domain:488:12)
      at TestRunner.emit (D:\a\web\web\packages\test-runner-core\dist\utils\EventEmitter.js:16:24)
      at TestRunner.stop (D:\a\web\web\packages\test-runner-core\dist\runner\TestRunner.js:129:14)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)

(there are other errors, but these might be test of handling syntax errors?)

justinfagnani avatar May 10 '24 14:05 justinfagnani