Skip to content

Commit

Permalink
Add delay to tests
Browse files Browse the repository at this point in the history
PR-URL: #5
  • Loading branch information
tshemsedinov committed Oct 24, 2021
1 parent fce039d commit bbedaf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/module1.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
'use strict';

const metautil = require('metautil');

const method1 = async (value) => {
await metautil.delay(500);
if (value) return { key: value };
return null;
};
Expand Down

0 comments on commit bbedaf9

Please sign in to comment.