File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
tests/integration/deploy-server/tests Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,9 @@ exports[`deploy support server when deploy target is vercel 1`] = `
45
45
46
46
exports [` deploy support server when deploy target is vercel 2` ] = `
47
47
{
48
- " default" : {
49
- " handler" : " index.js" ,
50
- " launcherType" : " Nodejs" ,
51
- " runtime" : " nodejs16.x" ,
52
- " shouldAddHelpers" : false ,
53
- " supportsResponseStreaming" : true ,
54
- },
55
48
" handler" : " index.js" ,
56
49
" launcherType" : " Nodejs" ,
57
- " runtime" : " nodejs16.x " ,
50
+ " runtime" : Any < String > ,
58
51
"shouldAddHelpers": false,
59
52
"supportsResponseStreaming": true,
60
53
}
Original file line number Diff line number Diff line change @@ -63,7 +63,10 @@ describe('deploy', () => {
63
63
expect ( await fse . pathExists ( publicDirectory ) ) . toBe ( true ) ;
64
64
expect ( await fse . pathExists ( bootstrapFile ) ) . toBe ( true ) ;
65
65
expect ( config ) . toMatchSnapshot ( ) ;
66
- expect ( funcsConfig ) . toMatchSnapshot ( ) ;
66
+ expect ( {
67
+ ...funcsConfig . default ,
68
+ runtime : expect . any ( String ) ,
69
+ } ) . toMatchSnapshot ( ) ;
67
70
} ) ;
68
71
69
72
test ( 'support server when deploy target is netlify' , async ( ) => {
You can’t perform that action at this time.
0 commit comments