Skip to content

Commit

Permalink
Finish replacing all references to PhantomJS with Headless Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed May 18, 2018
1 parent c3facac commit 5fbb70c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# grunt-contrib-jasmine v1.1.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-jasmine.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jasmine) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/5985958by5rhnh31/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-jasmine/branch/master)

> Run jasmine specs headlessly through PhantomJS
> Run jasmine specs headlessly through Headless Chrome


Expand All @@ -24,7 +24,7 @@ grunt.loadNpmTasks('grunt-contrib-jasmine');
## Jasmine task
_Run this task with the `grunt jasmine` command._

Automatically builds and maintains your spec runner and runs your tests headlessly through PhantomJS.
Automatically builds and maintains your spec runner and runs your tests headlessly through Headless Chrome.

#### Run specs locally or on a remote server

Expand Down Expand Up @@ -98,7 +98,7 @@ Automatically deleted upon normal runs.
Type: `String`
Default: `_SpecRunner.html`

The auto-generated specfile that phantomjs will use to run your tests.
The auto-generated specfile that Headless Chrome will use to run your tests.
Automatically deleted upon normal runs. Use the `:build` flag to generate a SpecRunner manually e.g.
`grunt jasmine:myTask:build`

Expand Down Expand Up @@ -130,7 +130,7 @@ Specify a custom JUnit template instead of using the default `junitTemplate`.
Type: `String`
Default: `''`

The host you want PhantomJS to connect against to run your tests.
The host you want Headless Chrome to connect against to run your tests.

e.g. if using an ad hoc server from within grunt

Expand Down
4 changes: 2 additions & 2 deletions docs/jasmine-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Automatically deleted upon normal runs.
Type: `String`
Default: `_SpecRunner.html`

The auto-generated specfile that phantomjs will use to run your tests.
The auto-generated specfile that Headless Chrome will use to run your tests.
Automatically deleted upon normal runs. Use the `:build` flag to generate a SpecRunner manually e.g.
`grunt jasmine:myTask:build`

Expand Down Expand Up @@ -80,7 +80,7 @@ Specify a custom JUnit template instead of using the default `junitTemplate`.
Type: `String`
Default: `''`

The host you want PhantomJS to connect against to run your tests.
The host you want Headless Chrome to connect against to run your tests.

e.g. if using an ad hoc server from within grunt

Expand Down
3 changes: 1 addition & 2 deletions docs/jasmine-overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Automatically builds and maintains your spec runner and runs your tests headlessly through PhantomJS.
Automatically builds and maintains your spec runner and runs your tests headlessly through Headless Chrome.

## Run specs locally or on a remote server

Expand All @@ -20,4 +20,3 @@ Supports AMD tests via the [grunt-template-jasmine-requirejs](https://github.com
- [StealJS](https://github.com/jaredstehler/grunt-template-jasmine-steal)

[grunt-contrib-connect]: https://github.com/gruntjs/grunt-contrib-connect

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grunt-contrib-jasmine",
"description": "Run jasmine specs headlessly through PhantomJS",
"description": "Run jasmine specs headlessly through Headless Chrome",
"version": "1.2.0",
"author": {
"name": "Grunt Team",
Expand Down Expand Up @@ -35,7 +35,8 @@
"gruntplugin",
"jasmine",
"unit",
"phantomjs",
"headless chrome",
"puppeteer",
"headless",
"tests"
],
Expand Down
2 changes: 1 addition & 1 deletion tasks/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ module.exports = function(grunt) {
file = `file://${path.join(__dirname, '..', file)}`;
}

grunt.log.subhead('Testing Jasmine specs via Chrome Headless');
grunt.log.subhead('Testing Jasmine specs via Headless Chrome');
const browser = await puppeteer.launch();
const page = await browser.newPage();

Expand Down

0 comments on commit 5fbb70c

Please sign in to comment.