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

Running test out of the box results in error #7

Open
Jahvy opened this issue Sep 12, 2018 · 1 comment
Open

Running test out of the box results in error #7

Jahvy opened this issue Sep 12, 2018 · 1 comment
Labels

Comments

@Jahvy
Copy link

Jahvy commented Sep 12, 2018

Running the test after cloning the repo resulted in the error below. I came across a similar issue in my own React implementation for surveyjs, and I was wondering if someone has any advice on how to tackle this.

screen shot 2018-09-12 at 12 26 44 am

@tsv2013
Copy link
Member

tsv2013 commented Sep 12, 2018

Please check the source code of the findSheet function:

https://github.com/surveyjs/surveyjs/blob/master/src/stylesmanager.ts#L350-L357

It operates with real DOM elements. That's why I think it fails in the unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants