Skip to content

Commit 30e1135

Browse files
chore: migrate tests from mocha to vitest
Replace mocha 6 with vitest 4.1.11. done callbacks become awaited promises with the assertions moved after the await; vitest.config.js unsets PRERENDER_SERVICE_URL so the suite is hermetic, and runs test files serially because both Express support apps bind the same port. Travis now runs on Node 20, the minimum Vitest 4 supports. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 63a13e2 commit 30e1135

7 files changed

Lines changed: 1335 additions & 1222 deletions

File tree

‎.travis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- "10"
3+
- "20"
44
script:
55
- cd test/support/express3 && npm install
66
- cd ../express4 && npm install

0 commit comments

Comments
 (0)