From c29813fb727b86832324b3592c855e9039b89ec8 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Mon, 17 May 2021 08:12:16 +0200 Subject: [PATCH] Remove phantomic references from README and update engine requirements --- README.md | 20 +------------------- package.json | 2 +- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index cecf1d8..503a868 100644 --- a/README.md +++ b/README.md @@ -19,26 +19,9 @@ with a headless browser, on a Selenium grid, in the cloud with SauceLabs or generates a standalone HTML page to run the tests. The underlying modules can also be used as Browserify plugins. -- [Phantomic][] for headless browser testing - [min-webdriver][] for Selenium and SauceLabs support - [Consolify][] to generate a standalone HTML page -## Headless browser testing - -Browserify a test and run in a Phantom.JS with [Phantomic][]: - -``` -$ browserify -p mocaccino test.js | phantomic --brout -``` - -### Code coverage with headless browser - -Use the [Coverify][] transform and [Phantomic][]: - -``` -$ browserify -p mocaccino -t coverify test.js | phantomic --brout | coverify -``` - ### Code coverage with node Use the [Coverify][] transform and node: @@ -76,7 +59,7 @@ I/O to happen. It's ignored if `--node` is given. ## Compatibility -- Node 0.10 or later +- Node 12 or later - Browserify 5.9 or later (since version 1.0.0) - Browserify 4.x (before 1.0.0) @@ -90,7 +73,6 @@ MIT [Mocha]: http://mochajs.org/ [Browserify]: http://browserify.org [Mochify]: https://github.com/mantoni/mochify.js -[Phantomic]: https://github.com/mantoni/phantomic [min-webdriver]: https://github.com/mantoni/min-webdriver [Consolify]: https://github.com/mantoni/consolify [Coverify]: https://github.com/substack/coverify diff --git a/package.json b/package.json index 18c452f..f9e7810 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "homepage": "https://github.com/mantoni/mocaccino.js", "main": "./lib/mocaccino.js", "engines": { - "node": ">=0.10" + "node": ">=12" }, "scripts": { "watch": "mocha --watch",