mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-06 01:15:28 +02:00
chore: add default implementation to fake methods (#6776)
Mock implements function in fake project store Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
0422e5b5b0
commit
e9f9cd1147
2
src/test/fixtures/fake-project-store.ts
vendored
2
src/test/fixtures/fake-project-store.ts
vendored
@ -154,7 +154,7 @@ export default class FakeProjectStore implements IProjectStore {
|
|||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
getProjectsByUser(userId: number): Promise<string[]> {
|
getProjectsByUser(userId: number): Promise<string[]> {
|
||||||
throw new Error('Method not implemented.');
|
return Promise.resolve([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
addEnvironmentToProjects(
|
addEnvironmentToProjects(
|
||||||
|
Loading…
Reference in New Issue
Block a user