File tree Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 11const functions = require ( "../../../../src/index" ) ;
22
3- exports . v1callable = functions . https . onCall ( ( _data , _ctx ) => {
3+ exports . v1callable = functions . https . onCall ( ( ) => {
44 return "PASS" ;
55} )
Original file line number Diff line number Diff line change 11const functions = require ( "../../../../src/index" ) ;
22
3- exports . v1http = functions . https . onRequest ( ( _req , resp ) => {
3+ exports . v1http = functions . https . onRequest ( ( req , resp ) => {
44 resp . status ( 200 ) . send ( "PASS" ) ;
55} )
66
Original file line number Diff line number Diff line change 11const functions = require ( "../../../../src/index" ) ;
22
3- exports . v1http = functions . https . onRequest ( ( _req , resp ) => {
3+ exports . v1http = functions . https . onRequest ( ( req , resp ) => {
44 resp . status ( 200 ) . send ( "PASS" ) ;
55} )
66
7- exports . v1callable = functions . https . onCall ( ( _data , _ctx ) => {
7+ exports . v1callable = functions . https . onCall ( ( ) => {
88 return "PASS" ;
99} )
Original file line number Diff line number Diff line change 11const functions = require ( "../../../../src/index" ) ;
22
3- exports . scheduled = functions . pubsub . schedule ( 'every 5 minutes' ) . onRun ( ( _context ) => {
3+ exports . scheduled = functions . pubsub . schedule ( 'every 5 minutes' ) . onRun ( ( ) => {
44 return "PASS" ;
55} ) ;
Original file line number Diff line number Diff line change 11const functions = require ( "../../../../src/index" ) ;
22
3- exports . v1http = functions . https . onRequest ( ( _req , resp ) => {
3+ exports . v1http = functions . https . onRequest ( ( req , resp ) => {
44 resp . status ( 200 ) . send ( "PASS" ) ;
55} )
66
7- exports . v1callable = functions . https . onCall ( ( _data , _ctx ) => {
7+ exports . v1callable = functions . https . onCall ( ( ) => {
88 return "PASS" ;
99} )
Original file line number Diff line number Diff line change 1- import * as functions from " ../../../../lib/index.js" ;
1+ import * as functions from ' ../../../../lib/index.js' ;
22
3- export const v1http = functions . https . onRequest ( ( _req , resp ) => {
4- resp . status ( 200 ) . send ( " PASS" ) ;
5- } )
3+ export const v1http = functions . https . onRequest ( ( req , resp ) => {
4+ resp . status ( 200 ) . send ( ' PASS' ) ;
5+ } ) ;
66
7- export const v1callable = functions . https . onCall ( ( _data , _ctx ) => {
8- return " PASS" ;
9- } )
7+ export const v1callable = functions . https . onCall ( ( ) => {
8+ return ' PASS' ;
9+ } ) ;
Original file line number Diff line number Diff line change 11import * as functions from "../../../../lib/index.js" ;
22
3- export const v1http = functions . https . onRequest ( ( _req , resp ) => {
3+ export const v1http = functions . https . onRequest ( ( req , resp ) => {
44 resp . status ( 200 ) . send ( "PASS" ) ;
55} )
66
7- export const v1callable = functions . https . onCall ( ( _data , _ctx ) => {
7+ export const v1callable = functions . https . onCall ( ( ) => {
88 return "PASS" ;
99} )
Original file line number Diff line number Diff line change 11import * as functions from "../../../../lib/index.js" ;
22
3- export const v1http = functions . https . onRequest ( ( _req , resp ) => {
3+ export const v1http = functions . https . onRequest ( ( req , resp ) => {
44 resp . status ( 200 ) . send ( "PASS" ) ;
55} )
66
7- export const v1callable = functions . https . onCall ( ( _data , _ctx ) => {
7+ export const v1callable = functions . https . onCall ( ( ) => {
88 return "PASS" ;
99} )
You can’t perform that action at this time.
0 commit comments