Update test dependencies (#414)
This commit is contained in:
parent
b31d6fb48a
commit
c0d8e7ed8a
7 changed files with 49 additions and 47 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