Skip to content

test(@toss/utils): Add getViewportSize Test Code #316

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

Closed
wants to merge 5 commits into from

Conversation

ssi02014
Copy link
Contributor

@ssi02014 ssi02014 commented Jul 29, 2023

Overview

I wrote a simple test code for thegetViewportSize function in toss/utils.

References

Object.defineProperty(window, 'innerWidth', { writable: true, configurable: true, value: 300 });
스크린샷 2023-07-30 오전 2 54 09

PR Checklist

  • I read and included theses actions below
  1. I have read the Contributing Guide
  2. I have written documents and tests, if needed.

@netlify
Copy link

netlify bot commented Jul 29, 2023

👷 Deploy request for slash-libraries pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 7ccce63

@ssi02014 ssi02014 closed this Jul 29, 2023
@ssi02014 ssi02014 reopened this Jul 29, 2023
@okinawaa
Copy link
Member

okinawaa commented Jul 30, 2023

It is similar with #259 !

@ssi02014
Copy link
Contributor Author

@okinawaa
Oh, right..!!!!

Please refer to my pull request if needed (ex. jsdom default value)

I'm going to close the pull request.

@ssi02014 ssi02014 closed this Jul 30, 2023
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.

2 participants