diff --git a/test/_flow.js b/test/_flow.js index 8e52b39..63737c5 100644 --- a/test/_flow.js +++ b/test/_flow.js @@ -10,14 +10,6 @@ chalk.constructor({level: 1}); new chalk.constructor({enabled: 'true'}); new chalk.constructor({enabled: true}); -// $ExpectError (Can't pass in null) -chalk.underline(null); -chalk.underline('foo'); - -// $ExpectError (Can't pass in null) -chalkStderr.underline(null); -chalkStderr.underline('foo'); - // $ExpectError (Can't have typo in chalk method) chalk.rd('foo'); chalk.red('foo');