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

preload assets before running test and mock them #1610

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

jimmywarting
Copy link
Contributor

After sync loading of files in 5c7375b got removed then some test started to fail.

There was either the option of changing the test to also become async and instead use alasql.promise or load the resources beforehand and then create a own sync loader and override the alasql.utils.loadFile with a own sync mock loader.

i opt'ed for the 2nd solution as some test are specifically to test sync functionality.

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