Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update jest ts-jest #156

Merged
merged 11 commits into from Sep 27, 2022
Merged

update jest ts-jest #156

merged 11 commits into from Sep 27, 2022

Conversation

alphmt
Copy link
Contributor

@alphmt alphmt commented Sep 20, 2022

Please check if the PR fulfills these requirements

  • Followed the Contributing guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
upgraded jest, ts-jest

@alphmt
Copy link
Contributor Author

alphmt commented Sep 21, 2022

@jaredwray the FIREBASE_CERT & TWILLO_SENDGRIP_API_KEY are not defined, that is why tests are failing

@jaredwray
Copy link
Owner

@jaredwray the FIREBASE_CERT & TWILLO_SENDGRIP_API_KEY are not defined, that is why tests are failing

@alphmth - this was working before did something change in the code to not take in the environment variables?

@alphmt
Copy link
Contributor Author

alphmt commented Sep 21, 2022

@jaredwray no.. There is only a change in package.json. Tests run locally fine.

@jaredwray
Copy link
Owner

@alphmth - it looks like something changed. Maybe with Jest where the environment variables are not being passed.

I just did a pull request using the same build.yml file and it worked: #157

@alphmt
Copy link
Contributor Author

alphmt commented Sep 21, 2022

@jaredwray are these under environment secrets section?

prisma/prisma#10204 (comment)

@alphmt
Copy link
Contributor Author

alphmt commented Sep 21, 2022

@jaredwray please approve workflow

@jaredwray
Copy link
Owner

prisma/prisma#10204 (comment)

Yep. they are under the repo section and work.

@alphmt
Copy link
Contributor Author

alphmt commented Sep 21, 2022

@jaredwray
Copy link
Owner

jaredwray commented Sep 21, 2022 via email

@alphmt
Copy link
Contributor Author

alphmt commented Sep 22, 2022

@jaredwray ok I will set mocks

@jaredwray
Copy link
Owner

@alphmth - looks like no tests have ran.

Also, what is this.json?

@alphmt
Copy link
Contributor Author

alphmt commented Sep 27, 2022

@jaredwray this.json is just dummy filename

@codecov
Copy link

codecov bot commented Sep 27, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (c894baa) compared to base (3366e7b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #156   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines          335       327    -8     
  Branches        56        54    -2     
=========================================
- Hits           335       327    -8     
Impacted Files Coverage Δ
test/testing-data.ts 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jaredwray jaredwray merged commit 2565eca into jaredwray:main Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants