Skip to content

Commit

Permalink
style(serverless): Address biome errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoyze committed Apr 22, 2024
1 parent 579c8b3 commit f3d3c16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('wrapCloudEventFunction', () => {

describe('wrapEventFunction() as Promise', () => {
test('successful execution', async () => {
const func: CloudEventFunction = (_context) =>
const func: CloudEventFunction = _context =>
new Promise(resolve => {
setTimeout(() => {
resolve(42);
Expand All @@ -111,7 +111,7 @@ describe('wrapCloudEventFunction', () => {

test('capture error', async () => {
const error = new Error('wat');
const handler: CloudEventFunction = (_context) =>
const handler: CloudEventFunction = _context =>
new Promise((_, reject) => {
setTimeout(() => {
reject(error);
Expand Down

0 comments on commit f3d3c16

Please sign in to comment.