spider-pig icon indicating copy to clipboard operation
spider-pig copied to clipboard

Test failure

Open olets opened this issue 4 months ago • 0 comments

When I run the tests they fail

% npm test

> @zachleat/[email protected] test
> ava


  Uncaught exception in test/SpiderPigTest.js

  test/SpiderPigTest.js:14

   13:   return new Promise(function(resolve, reject) {
   14:     let server = connect().use(serveStatic(sitePath)).listen(80…
   15:       // console.log(`Web server started on 8080 for ${sitePath…



  › Function.listen (node_modules/connect/index.js:217:24)
  › test/SpiderPigTest.js:14:53
  › openServer (test/SpiderPigTest.js:13:9)
  › Object.<anonymous> (test/SpiderPigTest.js:10:22)

  ─

  1 uncaught exception

Hit it first with Node 18, then based on the date of last change to the test entry point tried 12 and 10 (12.22.7 and 10.16.3 are the earliest I have on this computer). Same thing. Didn't try going earlier.

olets avatar Feb 22 '24 23:02 olets