From 02f0a9d8e95917d5ad50317118ba4f668da7d501 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 28 Dec 2018 12:17:47 +0100 Subject: [PATCH] Update _flow.js --- test/_flow.js | 8 -------- 1 file changed, 8 deletions(-) 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');