Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SchroterQuentin committed Mar 21, 2024
1 parent 495ff9c commit 91025ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Bones.UI.Tests/services/testUserService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ const testUserServiceFactory = new ServiceFactory<TestUserDetailsDTO, TestUserDe

export const useTestUsersSync = ComposableFactory.sync<TestUserDetails, TestUserInfos>(testUserServiceFactory);

export const useTestUser = ComposableFactory.get(testUserServiceFactory, (entity) => {
export const useTestUser = ComposableFactory.get(testUserServiceFactory, () => {
const { synceds, sync } = useTestUsersSync();
// sync(entity.childs);
return (entity) => {
// sync(entity.childs);
}
});

export const useTestUsers = ComposableFactory.getMany(testUserServiceFactory);
Expand Down

0 comments on commit 91025ed

Please sign in to comment.