Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Mar 21, 2022
1 parent 2fc703c commit 2fb428a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/react-18/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = withReact18({
// reactStrictMode: true,
experimental: {
reactRoot: true,
concurrentFeatures: true,
// runtime: 'edge',
},
images: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = withReact18({
},
pageExtensions: ['js', 'ts', 'jsx'], // .tsx won't be treat as page,
experimental: {
concurrentFeatures: true,
serverComponents: true,
runtime: 'edge',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const withReact18 = require('../../react-18/test/with-react-18')
module.exports = withReact18({
reactStrictMode: true,
experimental: {
concurrentFeatures: true,
serverComponents: true,
// runtime: 'edge',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const withReact18 = require('../../react-18/test/with-react-18')
module.exports = withReact18({
experimental: {
reactRoot: true,
concurrentFeatures: true,
serverComponents: true,
},
})
2 changes: 2 additions & 0 deletions test/production/react-18-streaming-ssr/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe('react 18 streaming SSR in minimal mode', () => {
experimental: {
reactRoot: true,
serverComponents: true,
concurrentFeatures: true,
runtime: 'nodejs',
},
},
Expand Down Expand Up @@ -66,6 +67,7 @@ describe('react 18 streaming SSR with custom next configs', () => {
trailingSlash: true,
experimental: {
reactRoot: true,
serverComponents: true,
runtime: 'edge',
},
},
Expand Down

0 comments on commit 2fb428a

Please sign in to comment.