authelia/test/helpers/utils/sleep.ts

6 lines
106 B
TypeScript
Raw Normal View History

export default function sleep(ms: number) {
return new Promise(resolve => setTimeout(resolve, ms));
}