File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/google-cloud-serverless/test/gcpfunction Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments