EndemolShineGroup/serverless-test-utils

View on GitHub
src/util/sleep.ts

Summary

Maintainability
A
0 mins
Test Coverage
export default (time: number) => {
  return new Promise((resolve) => {
    return setTimeout(resolve, time);
  });
};