This repository is used in order to test the basic functionality of the @google-cloud/bigtable npm module (github)
You can either run the tests against the Bigtable Emulator or against a Bigtable GCP Instance.
In each case install dependencies by running npm install
- Start the emulator
gcloud beta emulators bigtable start
- run the tests
npm run test
- Change the
INSTANCE_ID
andPROJECT_ID
parameters in the package.json scripttest:gcp
to your GCP Project ID & Bigtable instanceID - Create a .json GCP secret and store it under
/tests/bigtable-secret.json
- run the tests
npm run test:gcp