Skip to content

player00/promises-test-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test task

  1. Using JS or TS implement resolvedWithRejectionNumCheck(promisesToHandle: Promise[], maxRejectedNum: number) method which returns a promise that:
  • resolves if amount of rejected promises from promisesToHandle is not greater than the maxRejectedNum value
  • rejects otherwise
  1. Create a few autotests for this method using any testing framework.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published