Pinned Loading
-
validation code saga with user group...
validation code saga with user grouping and throttling 1const VALIDATION_CODE_THROTTLE_TIME_IN_MS = 5000;
2const getUserId = ({ payload: { user } }: ValidationCodeGeneratedEvent): User["id"] => user.id;
34@Injectable()
5export class ValidationCodeSagas {
-
validation code saga marble test part 2
validation code saga marble test part 2 1it("throttle events for multiple users in 5 second frames", () => {
2const payload = generatePayload();
3const secondPayload = generatePayload();
45testScheduler.run(({ hot, expectObservable }) => {
-
-
-
nest-ddh-dojo
nest-ddh-dojo PublicForked from libeo-tech/nest-ddh-dojo
Dojo for backend architecture
TypeScript 1
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.