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

fix: fix slow auth tests #142

Closed
wants to merge 53 commits into from

Conversation

CodeItQuick
Copy link

@CodeItQuick CodeItQuick commented Oct 10, 2020

You mentioned on stream the speed of your tests, this PR fixes the auth test to be "fast". I'm not sure how you think/feel about these changes, please comment below.

I believe the test still tests the endpoint in my opinion, and now runs in 16 ms through wallaby.js on my machine...

fix #140

src/helpers/RefreshToken.ts Outdated Show resolved Hide resolved
src/helpers/RefreshToken.test.ts Outdated Show resolved Hide resolved
src/helpers/RefreshToken.ts Outdated Show resolved Hide resolved
@CodeItQuick
Copy link
Author

Current Status: Github secrets are whats preventing the tests from running properly, need to rework something.

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.

Tests are still hitting the twitch api
2 participants