You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* refactor: improve partitioning code
* fix(firestore-bigquery-change-tracker): update imports
* fix(firestore-bigquery-export): make sure tests are running correctly with the correct project ID
3.**Set the `PROJECT_ID` environment variable** (some tests read this):
99
+
```bash
100
+
export PROJECT_ID=<your-gcp-project-id>
101
+
```
102
+
103
+
### Running Tests
104
+
105
+
From the `firestore-bigquery-change-tracker` directory:
106
+
107
+
```bash
108
+
npm test
109
+
```
110
+
111
+
Or to run a specific test file:
112
+
113
+
```bash
114
+
npx jest src/__tests__/bigquery/partitioning.test.ts --no-coverage
115
+
```
116
+
76
117
## Publishing
77
118
78
119
_The following instructions are for Firebase team members only._
@@ -87,9 +128,15 @@ npm pack
87
128
npm publish
88
129
```
89
130
90
-
In general, you should publish `firestore-bigquery-change-tracker` first, since it doesn't depend on anything else, and all other packages depend on it. Follow these steps:
131
+
In general, you should publish `firestore-bigquery-change-tracker` first, since
132
+
it doesn't depend on anything else, and all other packages depend on it. Follow
133
+
these steps:
91
134
92
-
1. Publish the package to NPM once the PR has been approved, by checking out the branch.
93
-
1. If a critical bug fix has been made to `firestore-bigquery-change-tracker`, update the dependency version in all 3 other packages. Publish `fs-bq-import-collection` and `fs-bq-schema-views` to NPM.
135
+
1. Publish the package to NPM once the PR has been approved, by checking out the
136
+
branch.
137
+
1. If a critical bug fix has been made to `firestore-bigquery-change-tracker`,
138
+
update the dependency version in all 3 other packages. Publish
139
+
`fs-bq-import-collection` and `fs-bq-schema-views` to NPM.
94
140
1. Merge the PR to `next` branch
95
-
1. If `firestore-bigquery-export-functions` had any changes in code or `package.json`, an extension release is required.
141
+
1. If `firestore-bigquery-export-functions` had any changes in code or
0 commit comments