From 96feab15d439cadfc028f9d3f09c8e58b6c4a6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 8 Aug 2018 18:49:58 +0200 Subject: [PATCH] tests: Fix failing test of exit code --- test/unit/cli-start.test.js | 4 ++-- test/unit/cli.test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/cli-start.test.js b/test/unit/cli-start.test.js index 4ec38dec56..2a5a807159 100644 --- a/test/unit/cli-start.test.js +++ b/test/unit/cli-start.test.js @@ -54,11 +54,11 @@ describe.skip.appveyor('cli', () => { if (timeout === true) { console.warn( // eslint-disable-line no-console `we were unable to automatically kill the child process with pid: ${ - nuxtStart.pid + nuxtStart.pid }` ) } - expect(exitCode).toBe(null) + expect(exitCode).toBe(undefined) }) }) diff --git a/test/unit/cli.test.js b/test/unit/cli.test.js index 5450225de6..50979e41e6 100644 --- a/test/unit/cli.test.js +++ b/test/unit/cli.test.js @@ -58,6 +58,6 @@ describe.skip.appveyor('cli', () => { ) } - expect(exitCode).toBe(null) + expect(exitCode).toBe(undefined) }) })