integration tests
This commit is contained in:
@@ -212,4 +212,10 @@ async getMembership(teamId: string, driverId: string): Promise<TeamMembership |
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
async clear(): Promise<void> {
|
||||
this.logger.info('[InMemoryTeamMembershipRepository] Clearing all memberships and join requests');
|
||||
this.membershipsByTeam.clear();
|
||||
this.joinRequestsByTeam.clear();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user