Import the required modules
To get started, import the modules required for handling Firebase Test Lab events:
Node.js
// The Cloud Functions for Firebase SDK to set up triggers and logging.
const
{
onTestMatrixCompleted
}
=
require
(
"firebase-functions/testLab"
);
const
{
logger
}
=
require
(
"firebase-functions"
);
Python
# The Cloud Functions for Firebase SDK to set up triggers and logging.
from
firebase_functions
import
test_lab_fn
,
params
# The requests library to send web requests to Slack.
import
requests

