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_IDandPROJECT_IDparameters in the package.json scripttest:gcpto 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