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

test: improve api of useAppSoftLock hook #16537

Merged
merged 3 commits into from
Jan 17, 2024
Merged

test: improve api of useAppSoftLock hook #16537

merged 3 commits into from
Jan 17, 2024

Conversation

atomrc
Copy link
Contributor

@atomrc atomrc commented Jan 17, 2024

Description

Screenshots/Screencast (for UI changes)

Checklist

  • PR has been self reviewed by the author;
  • Hard-to-understand areas of the code have been commented;
  • If it is a core feature, unit tests have been added;

repositories.calling,
repositories.notification,
);
const {softLockEnabled} = useAppSoftLock(repositories.calling, repositories.notification);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need the loaded info anymore since now enrollment and renewal happen at load time (which means the app is not loaded)

@@ -0,0 +1,98 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useAppSoflLock => useAppSoftLock :)

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (40a1774) 45.38% compared to head (aa40f15) 45.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #16537      +/-   ##
==========================================
+ Coverage   45.38%   45.46%   +0.07%     
==========================================
  Files         740      740              
  Lines       24258    24252       -6     
  Branches     5518     5514       -4     
==========================================
+ Hits        11010    11025      +15     
+ Misses      11829    11807      -22     
- Partials     1419     1420       +1     

@atomrc atomrc merged commit 15a46cb into dev Jan 17, 2024
10 checks passed
@atomrc atomrc deleted the test/soft-lock-tests branch January 17, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants