Skip to content

Commit e844387

Browse files
inlinedTheIronDevtaeold
authored
Put tests in a codebase (#1148)
* Update v2 rtdb to expose RawRTDBEvent and RawRTDBCloudEventData (#1137) * Update v2 rtdb to expose RawRTDBEvent and RawRTDBCloudEventData This commit updates the v2 database provider to also expose the RawRTDB Events. This will be used in test-sdk when mocking returned DatabaseEvents. * Adding @hidden instead of @internal * Put tests in a codebase * Revert changes to package-lock.json * Format fix Co-authored-by: Tyler Stark <theirondeveloper@gmail.com> Co-authored-by: Daniel Young Lee <taeold@gmail.com>
1 parent 0b47d40 commit e844387

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

integration_test/firebase.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@
55
"firestore": {
66
"rules": "firestore.rules",
77
"indexes": "firestore.indexes.json"
8+
},
9+
"functions": {
10+
"source": "functions",
11+
"codebase": "integration-tests"
812
}
913
}

integration_test/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ function delete_all_functions {
6565
# Try to delete, if there are errors it is because the project is already empty,
6666
# in that case do nothing.
6767
if [[ "${TOKEN}" == "" ]]; then
68-
firebase functions:delete integrationTests v1 v2 --force --project=$PROJECT_ID || : &
68+
firebase functions:delete integration-tests --force --project=$PROJECT_ID || : &
6969
else
70-
firebase functions:delete integrationTests v1 v2 --force --project=$PROJECT_ID --token=$TOKEN || : &
70+
firebase functions:delete integration-tests --force --project=$PROJECT_ID --token=$TOKEN || : &
7171
fi
7272
wait
7373
announce "Project emptied."

0 commit comments

Comments
 (0)