Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to secure URL #2222

Merged
merged 1 commit into from
Sep 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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