From 0971a893c83174b5a4360691629f1f966268fb48 Mon Sep 17 00:00:00 2001 From: Sondre Nilsen Date: Tue, 24 May 2016 00:12:29 +0200 Subject: [PATCH] Even more testing the tests --- temp-test.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/temp-test.js b/temp-test.js index 55c7348..87030ee 100644 --- a/temp-test.js +++ b/temp-test.js @@ -1,4 +1,11 @@ 'use strict'; + +var oldExit = process.exit; +process.exit = function () { + console.error(new Error(‘OH NO!!!’)); + oldExit.apply(process, arguments); +} + var path = require('path'); var assert = require('yeoman-assert'); var helpers = require('yeoman-test');