Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142070 | Jan 14,2019 05:46 AM UTC | Jan 23,2019 05:44 AM UTC | React - EJ 2 | 5 |
![]() |
Tags: General |
Hi Mohammad,Please ignore the previous update.Since JEST does not have all window functions, we need to mock all functionalities of window and others related to DOM if that are not implemented in the JEST. Please refer the mocking options provided in JEST documentation.Documentation link: https://jestjs.io/docs/en/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdomHowever, we will analyze the possibilities of using all the functionalities used in our components in testing environment and get back to you with more details within 2 working days on January 21, 2019.Regards,Jayakumar D
Hi Mohammad,Please ignore the previous update.Since JEST does not have all window functions, we need to mock all functionalities of window and others related to DOM if that are not implemented in the JEST. Please refer the mocking options provided in JEST documentation.Documentation link: https://jestjs.io/docs/en/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdomHowever, we will analyze the possibilities of using all the functionalities used in our components in testing environment and get back to you with more details within 2 working days on January 21, 2019.Regards,Jayakumar D
Still waiting for updateCan you please provide update?
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.