Skip to content

Commit

Permalink
Remove phantomic references from README and update engine requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 authored and mantoni committed May 23, 2021
1 parent 4382056 commit c29813f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions README.md
Expand Up @@ -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:
Expand Down Expand Up @@ -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)

Expand All @@ -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
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit c29813f

Please sign in to comment.