@odd-industries/odd-charting v5.7.0
odd-charting
Setting up the Firebase Functions emulator
First we need to start the Firebase Functions emulator. On the odd-vision-functions repository run, in two different terminals:
yarn build:watchand then
yarn serveOnce started, visit Functions to see it in action.
Setting up the Firebase Firestore emulator
First we need to start the Firebase Firestore emulator:
firebase emulators:start --only firestoreOnce started, we should seed it:
export FIRESTORE_EMULATOR_HOST="localhost:5000" && node ./tests/restore/index.jsIf you don't have data to seed with, you can download some via:
unset FIRESTORE_EMULATOR_HOST && node ./tests/restore/index.jsOnce seeded, visit Firestore to see it in action.
Testing
On the odd-charting repository (here) run:
yarn test:unitor
yarn test:integrationReleasing
yarn release5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago