From b5626bff97e2e794b1939f96bd91f0c064a3d49f Mon Sep 17 00:00:00 2001 From: Ariya Hidayat Date: Wed, 20 Aug 2014 05:51:19 -0700 Subject: [PATCH] Add a simple test for exit behavior. https://github.com/ariya/phantomjs/issues/12431 https://github.com/ariya/phantomjs/issues/12439 --- test/basics/exit.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/basics/exit.js diff --git a/test/basics/exit.js b/test/basics/exit.js new file mode 100644 index 00000000..39fa318a --- /dev/null +++ b/test/basics/exit.js @@ -0,0 +1,4 @@ +console.log('Hello, world!'); +phantom.exit(); + +console.log('This should never appear');