Skip to content

Commit

Permalink
[meta] Update airbnb.io URLs to use https
Browse files Browse the repository at this point in the history
  • Loading branch information
votemike authored and ljharb committed Aug 20, 2019
1 parent be50697 commit 4d856a3
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/guides/jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Configure with Jest

To run the setup file to configure Enzyme and the Adapter (as shown in the [Installation docs](http://airbnb.io/enzyme/docs/installation/)) with Jest, set `setupFilesAfterEnv` (previously `setupTestFrameworkScriptFile`) in your config file (check [Jest's documentation](http://jestjs.io/docs/en/configuration) for the possible locations of that config file) to literally the string `<rootDir>` and the path to your setup file.
To run the setup file to configure Enzyme and the Adapter (as shown in the [Installation docs](https://airbnb.io/enzyme/docs/installation/)) with Jest, set `setupFilesAfterEnv` (previously `setupTestFrameworkScriptFile`) in your config file (check [Jest's documentation](http://jestjs.io/docs/en/configuration) for the possible locations of that config file) to literally the string `<rootDir>` and the path to your setup file.

```json
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "0.0.1",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"scripts": {
"clean-local-npm": "rimraf node_modules/.bin/npm node_modules/.bin/npm.cmd",
"postinstall": "[ -n \"${TRAVIS-}\" ] || (npm run clean-local-npm && npm link npm && lerna bootstrap)",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-13",
"version": "1.4.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-14",
"version": "1.4.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-15.4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-15.4",
"version": "1.4.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-15/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-15",
"version": "1.4.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-16.1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-16.1",
"version": "1.6.1",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-16.2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-16.2",
"version": "1.6.1",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-16.3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-16.3",
"version": "1.7.1",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-16/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-16",
"version": "1.14.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-react-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-react-helper",
"version": "1.3.6",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-adapter-utils",
"version": "1.12.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-shallow-equal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme-shallow-equal",
"version": "1.0.0",
"description": "Adaptation of react-addons-shallow-compare, for independent usage",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"scripts": {
"lint": "eslint --ext js,jsx .",
"pretest": "npm run lint"
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enzyme",
"version": "3.10.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"homepage": "https://airbnb.io/enzyme/",
"main": "build",
"scripts": {
"clean": "rimraf build",
Expand Down
6 changes: 3 additions & 3 deletions packages/enzyme/src/validateAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function validateAdapter(adapter) {
import Adapter from 'enzyme-adapter-react-15';
To find out more about this, see http://airbnb.io/enzyme/docs/installation/index.html
To find out more about this, see https://airbnb.io/enzyme/docs/installation/index.html
`);
}
if (typeof adapter === 'function') {
Expand All @@ -24,7 +24,7 @@ export default function validateAdapter(adapter) {
import Adapter from 'enzyme-adapter-react-15';
To find out more about this, see http://airbnb.io/enzyme/docs/installation/index.html
To find out more about this, see https://airbnb.io/enzyme/docs/installation/index.html
`);
}
throw new Error(`
Expand All @@ -36,7 +36,7 @@ export default function validateAdapter(adapter) {
import Adapter from 'enzyme-adapter-react-15';
To find out more about this, see http://airbnb.io/enzyme/docs/installation/index.html
To find out more about this, see https://airbnb.io/enzyme/docs/installation/index.html
`);
}
if (!(adapter instanceof EnzymeAdapter)) {
Expand Down

0 comments on commit 4d856a3

Please sign in to comment.