You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated dev dependencies, some of which require newer Node.js versions than previously supported.
Use the Node.js test runner API and remove the dev dependency test-director.
Refactored tests to no longer polyfill the standard AbortController, AbortSignal, Event, EventTarget, and performance APIs available in modern Node.js and removed the dev dependencies abort-controller and event-target-shim.
Patch
Updated the next peer dependency to 12 - 14, fixing #7.
Updated dependencies.
Updated the package.json field repository to conform to new npm requirements.
The workflow still triggers on push, but no longer on pull request.
The workflow can now be manually triggered.
Run tests with Node.js v18, v20, v21.
Updated actions/checkout to v4.
Updated actions/setup-node to v4.
Improved the types for test fixture Next.js config.
For the function withGraphQLReact tests:
Temporarily disabled the tests for Node.js v18 due to the Node.js test runner bug nodejs/node#48845 that will be fixed in a future Node.js v18 release.
Use the new Puppeteer headless mode.
For the client side page load test:
Attempt to wait until the JS has loaded and the React app has mounted before clicking the navigation link.
Simulate fast 3G network conditions to ensure GraphQL query loading state can render and be asserted.
Migrated use of the deprecated Next.js CLI next export to the new Next.js static export API.
Removed an apparently no longer necessary workaround that forced the process to exit after tests; older Next.js used to stay running after closing it’s server.
Fixed bugs in the test helper function startNext.
Added tests for the internal function cjsDefaultImport.