File tree Expand file tree Collapse file tree 5 files changed +5
-18
lines changed
Expand file tree Collapse file tree 5 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,11 @@ jobs:
2323
2424 - name : Install dependencies and build package
2525 run : |
26- pnpm install
26+ pnpm --filter @nimpl/context --filter tests-base add react@canary react-dom@canary next@canary --no-lockfile
27+ pnpm --filter @nimpl/context --filter tests-base add @types/react@latest @types/react-dom@latest --save-dev --no-lockfile
2728 pnpm run build
2829 working-directory : ./package
2930
30- # Step to make sure we will install the latest Canary versions
31- - name : Remove pnpm data
32- run : |
33- rm -rf node_modules
34- rm -rf package/node_modules
35- rm -rf tests/base/node_modules
36- rm -rf pnpm-lock.yaml
37-
38- - name : Install test dependencies
39- run : |
40- pnpm install --ignore-workspace
41- working-directory : ./tests/base
42-
4331 - name : Test package general
4432 run : |
4533 pnpm playwright install
Original file line number Diff line number Diff line change 2626 "prettier" : " 3.7.4" ,
2727 "typescript-eslint" : " 8.48.1"
2828 },
29- "license" : " MIC " ,
30- "packageManager" : " pnpm@9.7 .0+sha512.dc09430156b427f5ecfc79888899e1c39d2d690f004be70e05230b72cb173d96839587545d09429b55ac3c429c801b4dc3c0e002f653830a420fa2dd4e3cf9cf "
29+ "license" : " MIT " ,
30+ "packageManager" : " pnpm@10.8 .0+sha512.0e82714d1b5b43c74610193cb20734897c1d00de89d0e18420aebc5977fa13d780a9cb05734624e81ebd81cc876cd464794850641c48b9544326b5622ca29971 "
3131}
Original file line number Diff line number Diff line change 88
99# testing
1010/coverage
11+ /test-results
1112
1213# next.js
1314/.next /
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ interface TextAfterContextWithDelayProps {
1010export const TextAfterContextWithDelay : React . FC < TextAfterContextWithDelayProps > = async ( { id } ) => {
1111 await sleep ( 1000 ) ;
1212 const context = getServerContext ( AfterContext ) ;
13- console . log ( "TextAfterContextWithDelay" , context ) ;
1413
1514 return < p id = { id } > { context ?. after } </ p > ;
1615} ;
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ interface TextUninitializedContextProps {
88
99export const TextUninitializedContext : React . FC < TextUninitializedContextProps > = async ( { id } ) => {
1010 const context = getServerContext ( UninitializedContext ) ;
11- console . log ( "TextUninitializedContext" , context ) ;
1211
1312 return < p id = { id } > { context ?. uninitialized } </ p > ;
1413} ;
You can’t perform that action at this time.
0 commit comments