File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ app.http('httpTrigger1', {
7
7
8
8
let name ;
9
9
if ( req . query . has ( 'name' ) ) {
10
- name = req . query . get ( 'name' )
10
+ name = req . query . get ( 'name' ) ;
11
11
} else {
12
12
let body = await req . json ( ) ;
13
13
name = body . name ;
Original file line number Diff line number Diff line change @@ -78,9 +78,11 @@ describe('adapt', () => {
78
78
const adapter = azureAdapter ( { apiDir : 'custom/api' } ) ;
79
79
const builder = getMockBuilder ( ) ;
80
80
await adapter . adapt ( builder ) ;
81
- expect ( esbuild . build ) . toBeCalledWith ( expect . objectContaining ( {
82
- outfile : 'custom/api/sk_render/index.js' ,
83
- } ) ) ;
81
+ expect ( esbuild . build ) . toBeCalledWith (
82
+ expect . objectContaining ( {
83
+ outfile : 'custom/api/sk_render/index.js'
84
+ } )
85
+ ) ;
84
86
85
87
// we don't copy the required function files to a custom API directory
86
88
expect ( builder . copy ) . not . toBeCalledWith ( expect . stringContaining ( 'api' ) , 'custom/api' ) ;
You can’t perform that action at this time.
0 commit comments