This is will pull in all dependencies required for the project.
- Go to firebase.google.com and create a new project.
- Select Firestore and create the database under the newly created project.
- Open your terminal, run
firebase init
- Select your project, and choose hosting & firestore.
- Done!
Before you run the tests, it's recommended you create a separate firebase project.
These test will be refactored to use mocking library in future.
add a firebase.env.json
under project root with firebase configurations:
{
"testing": {
"apiKey": "...",
"authDomain": "...",
"databaseURL": "...",
"projectId": "...",
"storageBucket": "...",
"messagingSenderId": "..."
},
"production": {}
}
Generate javascript build from the typescript source.