mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add mocking functions for tests
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
import { GetterRepository } from "./GetterRepository";
|
||||
import { IEta } from "../entities/entities";
|
||||
|
||||
// TODO: implement
|
||||
|
||||
export class ApiBasedRepository implements GetterRepository {
|
||||
public async getEtaForShuttleAndStopId(shuttleId: string, stopId: string): Promise<IEta | null> {
|
||||
// TODO: implement
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public async getEtasForShuttleId(shuttleId: string): Promise<[]> {
|
||||
// TODO: implement
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user