integration tests
This commit is contained in:
@@ -153,4 +153,10 @@ export class InMemorySocialGraphRepository implements SocialGraphRepository {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
async clear(): Promise<void> {
|
||||
this.logger.info('[InMemorySocialGraphRepository] Clearing all friendships and drivers');
|
||||
this.friendships = [];
|
||||
this.driversById.clear();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user