-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
15,129 additions
and
7,867 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import {IState} from '../../src/interfaces/state'; | ||
import {IIssue} from '../../src/interfaces/issue'; | ||
|
||
export class StateMock implements IState { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
addIssueToProcessed(issue: IIssue) {} | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
isIssueProcessed(issue: IIssue) { | ||
return false; | ||
} | ||
|
||
persist(): Promise<void> { | ||
return Promise.resolve(undefined); | ||
} | ||
|
||
rehydrate(): Promise<void> { | ||
return Promise.resolve(undefined); | ||
} | ||
|
||
reset() {} | ||
} | ||
|
||
export const alwaysFalseStateMock = new StateMock(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.