Skip to content

Conversation

@DorianMaliszewski
Copy link
Member

Fix when enabled change from false to true and the request is IDLE, then launch it

@codecov
Copy link

codecov bot commented Oct 19, 2021

Codecov Report

Merging #440 (2a96768) into master (f2cfa8f) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #440   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines          473       476    +3     
  Branches        75        76    +1     
=========================================
+ Hits           473       476    +3     
Impacted Files Coverage Δ
packages/use-dataloader/src/useDataLoader.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2cfa8f...2a96768. Read the comment docs.

@DorianMaliszewski
Copy link
Member Author

I add a Promise with empty setTimeout because worker are too fast to launch then go into expect

@DorianMaliszewski DorianMaliszewski merged commit 9be4809 into master Oct 20, 2021
@DorianMaliszewski DorianMaliszewski deleted the fix/enable-use-effect branch October 20, 2021 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants