Skip to content

Commit e18db31

Browse files
committed
style(serverless): Address biome errors
1 parent 1f00de4 commit e18db31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/google-cloud-serverless/test/gcpfunction/cloud_event.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe('wrapCloudEventFunction', () => {
8686

8787
describe('wrapEventFunction() as Promise', () => {
8888
test('successful execution', async () => {
89-
const func: CloudEventFunction = (_context) =>
89+
const func: CloudEventFunction = _context =>
9090
new Promise(resolve => {
9191
setTimeout(() => {
9292
resolve(42);
@@ -111,7 +111,7 @@ describe('wrapCloudEventFunction', () => {
111111

112112
test('capture error', async () => {
113113
const error = new Error('wat');
114-
const handler: CloudEventFunction = (_context) =>
114+
const handler: CloudEventFunction = _context =>
115115
new Promise((_, reject) => {
116116
setTimeout(() => {
117117
reject(error);

0 commit comments

Comments
 (0)