This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
The @firebase/testing
dev dependency is set to an older version due to a bug with the current ones.
Please see firebase/firebase-js-sdk#3096 and https://stackoverflow.com/a/61934298 for more details.
To run the Firestore security rules unit tests, first, start the emulator with the Firebase CLI:
firebase emulators:start --only firestore
Execute unit tests with:
npm run test