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

Refactor queued files autotracking test #782

Merged
merged 1 commit into from
May 20, 2022
Merged

Refactor queued files autotracking test #782

merged 1 commit into from
May 20, 2022

Conversation

gilest
Copy link
Collaborator

@gilest gilest commented May 20, 2022

Test temporarily disabled in 519f6a9 as there's a hard to isolate timing change in a dependency which was making it fail in some matrix builds.

Refactored to mock the state change of the file via a simulated upload rather than using the mirage handler. This isolates the part we actually want to test here – tracking of files in queues.

@cloudflare-pages
Copy link

cloudflare-pages bot commented May 20, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: dcacd36
Status: ✅  Deploy successful!
Preview URL: https://55716c7e.ember-file-upload.pages.dev

View logs

@gilest gilest force-pushed the chore/unskip-test branch 2 times, most recently from 18addfa to c48e6bf Compare May 20, 2022 05:25
I've repalced the mirage handler due to complexity and some new timing change in a dependency which makes this test unreliable.

Refactored to mock the state change of the file via a simulated upload. This isolates the part we actually want to test here – tracking of files in queues.
@gilest gilest changed the title Re-enable temporarily skipped test Refactor queued file autotracking test May 20, 2022
@gilest gilest changed the title Refactor queued file autotracking test Refactor queued files autotracking test May 20, 2022
@gilest gilest merged commit d7e6a77 into master May 20, 2022
@gilest gilest deleted the chore/unskip-test branch May 20, 2022 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant