Skip to content

Commit 695a356

Browse files
committed
style: format
1 parent 96e6067 commit 695a356

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

demo/func/HelloWorld/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ app.http('httpTrigger1', {
77

88
let name;
99
if (req.query.has('name')) {
10-
name = req.query.get('name')
10+
name = req.query.get('name');
1111
} else {
1212
let body = await req.json();
1313
name = body.name;

test/index.test.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,11 @@ describe('adapt', () => {
7878
const adapter = azureAdapter({ apiDir: 'custom/api' });
7979
const builder = getMockBuilder();
8080
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+
);
8486

8587
// we don't copy the required function files to a custom API directory
8688
expect(builder.copy).not.toBeCalledWith(expect.stringContaining('api'), 'custom/api');

0 commit comments

Comments
 (0)