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 tests & Upgrade ember concurrency to 2.0 #81

Merged
merged 2 commits into from
May 22, 2021
Merged

Fix tests & Upgrade ember concurrency to 2.0 #81

merged 2 commits into from
May 22, 2021

Conversation

st-h
Copy link
Contributor

@st-h st-h commented Mar 10, 2021

I've tried to fix the tests before upgrading, however the test it yields the current and last version to the block has been failing randomly. The only workaround I could figure out, in the time I currently have available, was to increase the timeout. The issue seems that waitUntil finishes before the fetch request is finished and therefor the new version is not always updated before assert is called. Probably it would be better to assert after onNewVersion has been called, but I am not sure about the purpose of this test.

Btw: Upgrading ember fetch fixes most of the current issues with the tests

@basz
Copy link
Contributor

basz commented Apr 29, 2021

Hi there. Any progress on this PR? We are in the process of upgrading to e-concurrency v2 and this package seem one to be blocking that at the moment...

edit: for what it's worth. upgrading e-concurrency was successful after upgrading ember-bootstrap...

@knownasilya
Copy link
Collaborator

We don't use yarn in this addon, could you remove that and update the npm lock file?

@knownasilya knownasilya merged commit 5e111b1 into sethwebster:master May 22, 2021
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.

3 participants