Update test dependencies
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
parent
445092f9af
commit
5be1773244
11 changed files with 59 additions and 56 deletions
|
|
@ -3,7 +3,9 @@ const chalk = require('..');
|
|||
|
||||
const ignoreChars = /[^!-~]/g;
|
||||
|
||||
const delay = milliseconds => new Promise(resolve => setTimeout(resolve, milliseconds));
|
||||
const delay = milliseconds => new Promise(resolve => {
|
||||
setTimeout(resolve, milliseconds);
|
||||
});
|
||||
|
||||
function rainbow(string, offset) {
|
||||
if (!string || string.length === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue