File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
integration_test_declarative
templates/functions/src/v1 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -267,10 +267,10 @@ for SUITE_NAME in "${SUITE_NAMES[@]}"; do
267
267
done
268
268
269
269
if [ ${# TEST_FILES[@]} -gt 0 ]; then
270
- npm test -- " ${TEST_FILES[@]} "
270
+ TEST_RUN_ID= " $TEST_RUN_ID " npm test -- " ${TEST_FILES[@]} "
271
271
else
272
272
echo -e " ${YELLOW} No test files found. Running all tests...${NC} "
273
- npm test
273
+ TEST_RUN_ID= " $TEST_RUN_ID " npm test
274
274
fi
275
275
276
276
echo " "
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const {{name}}{{../testRunId}} = functions
11
11
})
12
12
.region(REGION)
13
13
.firestore.document("{{ document }} ")
14
- .{{ trigger }} (async ({{ #if (eq trigger " onUpdate" )}} change {{ else if (eq trigger "onWrite")}} change {{ else }} snapshot {{ /if }} , context) => {
14
+ .{{ trigger }} (async ({{ #if (eq trigger " onUpdate" )}} _change {{ else if (eq trigger "onWrite")}} _change {{ else }} _snapshot {{ /if }} , context) => {
15
15
const testId = context.params.testId;
16
16
await admin
17
17
.firestore()
You can’t perform that action at this time.
0 commit comments