Testing #17
integration-tests.yml
on: pull_request
Matrix: Vitest Integration Tests
Annotations
18 errors
|
Vitest Integration Tests (24)
Process completed with exit code 1.
|
|
tests/integration.test.ts > Next.js Integration Tests > Fresh Next.js App Setup > should create a Next.js app and install @solvro/config:
tests/integration.test.ts#L50
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/integration.test.ts:50:35
|
|
tests/error-conditions.test.ts > Error Conditions and Edge Cases > Edge Case Configurations > should work with minimal Next.js setup:
tests/error-conditions.test.ts#L110
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/error-conditions.test.ts:110:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Configuration Variations > should work with minimal configuration:
tests/cross-version.test.ts#L97
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/cross-version.test.ts:97:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Configuration Variations > should work with TypeScript + Tailwind + App Router:
tests/cross-version.test.ts#L74
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/cross-version.test.ts:74:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Next.js Version Compatibility > should work with Next.js latest:
tests/cross-version.test.ts#L34
AssertionError:
> create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes@0.1.0 build
> next build
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 15.3.5
Creating an optimized production build ...
✓ Compiled successfully in 7.0s
Linting and checking validity of types ...
Collecting page data ...
Generating static pages (0/5) ...
Retrying 1/3...
Retrying 1/3...
Retrying 2/3...
Retrying 2/3...
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.
TypeError: Cannot read properties of null (reading 'useContext')
at g (.next/server/pages/_error.js:6:6810)
Error occurred prerendering page "/404". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useContext')
at process.env.NODE_ENV.exports.useContext (/tmp/solvro-test-cross-version-1751831366396/nextjs-latest/node_modules/react/cjs/react.development.js:1168:25)
at g (/tmp/solvro-test-cross-version-1751831366396/nextjs-latest/.next/server/pages/_error.js:6:6810)
at react-stack-bottom-frame (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:9251:18)
at renderWithHooks (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:4898:19)
at renderElement (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5333:23)
at retryNode (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6092:31)
at renderNodeDestructive (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6042:11)
at renderNode (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6499:18)
at renderChildrenArray (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6375:9)
at retryNode (/tmp/solvro-test-cross-version-1751831366396/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6116:13)
Export encountered an error on /_error: /404, exiting the build.
⨯ Next.js build worker exited with code: 1 and signal: null: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ g .next/server/pages/_error.js:6:6810
❯ process.env.NODE_ENV.exports.useContext ../..
|
|
Vitest Integration Tests (20)
Process completed with exit code 1.
|
|
tests/integration.test.ts > Next.js Integration Tests > Fresh Next.js App Setup > should create a Next.js app and install @solvro/config:
tests/integration.test.ts#L50
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/integration.test.ts:50:35
|
|
tests/error-conditions.test.ts > Error Conditions and Edge Cases > Edge Case Configurations > should work with minimal Next.js setup:
tests/error-conditions.test.ts#L110
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/error-conditions.test.ts:110:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Configuration Variations > should work with minimal configuration:
tests/cross-version.test.ts#L97
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/cross-version.test.ts:97:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Configuration Variations > should work with TypeScript + Tailwind + App Router:
tests/cross-version.test.ts#L74
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/cross-version.test.ts:74:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Next.js Version Compatibility > should work with Next.js latest:
tests/cross-version.test.ts#L34
AssertionError:
> create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes@0.1.0 build
> next build
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 15.3.5
Creating an optimized production build ...
✓ Compiled successfully in 8.0s
Linting and checking validity of types ...
Collecting page data ...
Generating static pages (0/5) ...Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.
TypeError: Cannot read properties of null (reading 'useContext')
at g (.next/server/pages/_error.js:6:6810)
Error occurred prerendering page "/404". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useContext')
at process.env.NODE_ENV.exports.useContext (/tmp/solvro-test-cross-version-1751831366264/nextjs-latest/node_modules/react/cjs/react.development.js:1168:25)
at g (/tmp/solvro-test-cross-version-1751831366264/nextjs-latest/.next/server/pages/_error.js:6:6810)
at react-stack-bottom-frame (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:9251:18)
at renderWithHooks (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:4898:19)
at renderElement (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5333:23)
at retryNode (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6092:31)
at renderNodeDestructive (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6042:11)
at renderNode (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6499:18)
at renderChildrenArray (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6375:9)
at retryNode (/tmp/solvro-test-cross-version-1751831366264/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6116:13)
Export encountered an error on /_error: /404, exiting the build.
⨯ Next.js build worker exited with code: 1 and signal: null: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ g .next/server/pages/_error.js:6:6810
❯ process.env.NODE_ENV.exports.useContext ../../../../../tmp/solvro-test-cross-version-1751831366264/nextjs-latest/node
|
|
Vitest Integration Tests (22)
Process completed with exit code 1.
|
|
tests/integration.test.ts > Next.js Integration Tests > Fresh Next.js App Setup > should create a Next.js app and install @solvro/config:
tests/integration.test.ts#L50
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/integration.test.ts:50:35
|
|
tests/error-conditions.test.ts > Error Conditions and Edge Cases > Edge Case Configurations > should work with minimal Next.js setup:
tests/error-conditions.test.ts#L110
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/error-conditions.test.ts:110:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Configuration Variations > should work with minimal configuration:
tests/cross-version.test.ts#L97
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/cross-version.test.ts:97:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Configuration Variations > should work with TypeScript + Tailwind + App Router:
tests/cross-version.test.ts#L74
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/cross-version.test.ts:74:35
|
|
tests/cross-version.test.ts > Cross-Version Compatibility Tests > Next.js Version Compatibility > should work with Next.js latest:
tests/cross-version.test.ts#L34
AssertionError:
> create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes@0.1.0 build
> next build
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 15.3.5
Creating an optimized production build ...
✓ Compiled successfully in 8.0s
Linting and checking validity of types ...
Collecting page data ...
Generating static pages (0/5) ...Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.
TypeError: Cannot read properties of null (reading 'useContext')
at g (.next/server/pages/_error.js:6:6810)
Error occurred prerendering page "/404". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useContext')
at process.env.NODE_ENV.exports.useContext (/tmp/solvro-test-cross-version-1751831367550/nextjs-latest/node_modules/react/cjs/react.development.js:1168:25)
at g (/tmp/solvro-test-cross-version-1751831367550/nextjs-latest/.next/server/pages/_error.js:6:6810)
at react-stack-bottom-frame (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:9251:18)
at renderWithHooks (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:4898:19)
at renderElement (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5333:23)
at retryNode (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6092:31)
at renderNodeDestructive (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6042:11)
at renderNode (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6499:18)
at renderChildrenArray (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6375:9)
at retryNode (/tmp/solvro-test-cross-version-1751831367550/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes/node_modules/react-dom/cjs/react-dom-server.edge.development.js:6116:13)
Export encountered an error on /_error: /404, exiting the build.
⨯ Next.js build worker exited with code: 1 and signal: null: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ g .next/server/pages/_error.js:6:6810
❯ process.env.NODE_ENV.exports.useContext ../../../../../tmp/solvro-test-cross-version-1751831367550/nextjs-latest/node
|