You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
firebase content:
a. console.firebase.google.com -> Create a project
b. project name: igboapitest
project id (is also): igbopitest
c. no analytics -> Create project
d. change .firebaserc default and staging to igboapitest
e. "Get started by adding Firebase to your app" -> Web
f. app nickname: igbotestapp
g. copy config into src/services/firebase.js (into both staging and prod config)
h. firebase login
i. firebase use default
yarn dev # navigating to http://127.0.0.1:8080/ renders page
ctrl+C to stop development server
yarn start:database # terminal 1
yarn jest # terminal 2
a. Database is connected
b. Seeding database...
c. tests start, and fails 3 suites/56 tests
Expected behavior
Codebase on master branch should pass established tests
Desktop (please complete the following information):
OS: Ubuntu 20.04 and Windows 10
Browser Brave (N/A?)
Version Version 1.46.140 Chromium: 108.0.5359.99 (Official Build) (64-bit)
Smartphone (please complete the following information):
N/A
thanks for the link, i'll take a look thru the logs @jibranabsarulislam
i merged a fix so that future PRs will be able to have their tests run automatically within our CI so you don't need to run tests on your local machine in the future - however, this doesn't fix the root issue that's happening since we encourage writing new tests for new features, I'll keep this issue open!
Describe the bug
yarn jest
does not pass onmaster
branch when newly clonedTo Reproduce
Steps to reproduce the behavior:
git clone [email protected]:jibranabsarulislam/igbo_api.git igbo_api_test
cd igbo_api_test
yarn install
yarn build
a. console.firebase.google.com -> Create a project
b. project name:
igboapitest
project id (is also):
igbopitest
c. no analytics -> Create project
d. change
.firebaserc
default and staging toigboapitest
e. "Get started by adding Firebase to your app" -> Web
f. app nickname:
igbotestapp
g. copy config into
src/services/firebase.js
(into both staging and prod config)h.
firebase login
i.
firebase use default
yarn dev # navigating to http://127.0.0.1:8080/ renders page
yarn start:database # terminal 1
yarn jest # terminal 2
a. Database is connected
b. Seeding database...
c. tests start, and fails 3 suites/56 tests
Expected behavior
Codebase on master branch should pass established tests
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Screenshots (if applicable)
#653 (comment)
The text was updated successfully, but these errors were encountered: