diff --git a/test/index.js b/test/index.js index 417677c..5a0083b 100644 --- a/test/index.js +++ b/test/index.js @@ -4,4 +4,7 @@ const chalk = require("chalk"); console.log("Trying to make request..."); got("http://google.com").then((r) => { console.log(chalk.blue("Got request working!")); -}) \ No newline at end of file + + console.error(chalk.red("Exiting with code 1 to test error cases")); + process.exit(1); +});