├── .babelrc ├── .circleci └── config.yml ├── .dockerignore ├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmignore ├── .nvmrc ├── API.md ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Docker └── Dockerfile ├── Dockerfile ├── LICENSE ├── README.md ├── _config.yml ├── images ├── differencified_screenshot.png ├── differencify-report.png ├── jest.svg ├── logo.gif ├── logo.png ├── reference_screenshot.png ├── test-dir.png ├── test-fail.png ├── test-pass.png ├── test.gif └── workflow.png ├── package.json └── src ├── __snapshots__ └── sanitiser.test.js.snap ├── compareImage.js ├── compareImage.test.js ├── config └── defaultConfigs.js ├── freezeImage.js ├── freezeImage.test.js ├── helpers ├── functionToString.js ├── functionToString.test.js ├── functions.js ├── moduleList.js ├── proxyChain.js └── proxyChain.test.js ├── index.js ├── index.test.js ├── integration.tests ├── .DS_Store ├── __fixtures__ │ ├── Differencify simple unchained with mock requests.json │ └── Differencify simple with mock requests.json ├── __image_snapshots__ │ ├── Differencify Context switching when chained.snap.png │ ├── Differencify Freeze image in page.snap.png │ ├── Differencify Launch new browser per test when unchained.snap.png │ ├── Differencify Launch new browser per test.snap.png │ ├── Differencify Multiple toMatchSnapshot on chained object 1.snap.png │ ├── Differencify Multiple toMatchSnapshot on chained object.snap.png │ ├── Differencify Multiple toMatchSnapshot when unchained 1.snap.png │ ├── Differencify Multiple toMatchSnapshot when unchained.snap.png │ ├── Differencify Using result function.snap.png │ ├── Differencify Using toMatchSnapshot callback for result details when unchained.snap.png │ ├── Differencify Using toMatchSnapshot callback for result details.snap.png │ ├── Differencify simple unchained with mock requests.snap.png │ ├── Differencify simple unchained.snap.png │ ├── Differencify simple with mock requests.snap.png │ ├── Differencify simple.snap.png │ ├── custom_test_path │ │ └── Differencify Custom test path.snap.png │ └── test1.snap.png ├── example-website │ ├── animation.htm │ ├── example.htm │ └── giphy.webp ├── integration.test.js └── jest.config.js ├── sanitiser.js ├── sanitiser.test.js ├── target.js ├── target.test.js └── utils ├── jestMatchers.js ├── logger.js └── paths.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.babelrc -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/.npmignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/carbon -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/API.md -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/Docker/Dockerfile -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/_config.yml -------------------------------------------------------------------------------- /images/differencified_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/differencified_screenshot.png -------------------------------------------------------------------------------- /images/differencify-report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/differencify-report.png -------------------------------------------------------------------------------- /images/jest.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/jest.svg -------------------------------------------------------------------------------- /images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/logo.gif -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/reference_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/reference_screenshot.png -------------------------------------------------------------------------------- /images/test-dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/test-dir.png -------------------------------------------------------------------------------- /images/test-fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/test-fail.png -------------------------------------------------------------------------------- /images/test-pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/test-pass.png -------------------------------------------------------------------------------- /images/test.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/test.gif -------------------------------------------------------------------------------- /images/workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/images/workflow.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/package.json -------------------------------------------------------------------------------- /src/__snapshots__/sanitiser.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/__snapshots__/sanitiser.test.js.snap -------------------------------------------------------------------------------- /src/compareImage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/compareImage.js -------------------------------------------------------------------------------- /src/compareImage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/compareImage.test.js -------------------------------------------------------------------------------- /src/config/defaultConfigs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/config/defaultConfigs.js -------------------------------------------------------------------------------- /src/freezeImage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/freezeImage.js -------------------------------------------------------------------------------- /src/freezeImage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/freezeImage.test.js -------------------------------------------------------------------------------- /src/helpers/functionToString.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/helpers/functionToString.js -------------------------------------------------------------------------------- /src/helpers/functionToString.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/helpers/functionToString.test.js -------------------------------------------------------------------------------- /src/helpers/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/helpers/functions.js -------------------------------------------------------------------------------- /src/helpers/moduleList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/helpers/moduleList.js -------------------------------------------------------------------------------- /src/helpers/proxyChain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/helpers/proxyChain.js -------------------------------------------------------------------------------- /src/helpers/proxyChain.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/helpers/proxyChain.test.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/index.js -------------------------------------------------------------------------------- /src/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/index.test.js -------------------------------------------------------------------------------- /src/integration.tests/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/.DS_Store -------------------------------------------------------------------------------- /src/integration.tests/__fixtures__/Differencify simple unchained with mock requests.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/integration.tests/__fixtures__/Differencify simple with mock requests.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Context switching when chained.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Context switching when chained.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Freeze image in page.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Freeze image in page.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Launch new browser per test when unchained.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Launch new browser per test when unchained.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Launch new browser per test.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Launch new browser per test.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot on chained object 1.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot on chained object 1.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot on chained object.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot on chained object.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot when unchained 1.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot when unchained 1.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot when unchained.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Multiple toMatchSnapshot when unchained.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Using result function.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Using result function.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Using toMatchSnapshot callback for result details when unchained.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Using toMatchSnapshot callback for result details when unchained.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify Using toMatchSnapshot callback for result details.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify Using toMatchSnapshot callback for result details.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify simple unchained with mock requests.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify simple unchained with mock requests.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify simple unchained.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify simple unchained.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify simple with mock requests.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify simple with mock requests.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/Differencify simple.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/Differencify simple.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/custom_test_path/Differencify Custom test path.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/custom_test_path/Differencify Custom test path.snap.png -------------------------------------------------------------------------------- /src/integration.tests/__image_snapshots__/test1.snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/__image_snapshots__/test1.snap.png -------------------------------------------------------------------------------- /src/integration.tests/example-website/animation.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/example-website/animation.htm -------------------------------------------------------------------------------- /src/integration.tests/example-website/example.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/example-website/example.htm -------------------------------------------------------------------------------- /src/integration.tests/example-website/giphy.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/example-website/giphy.webp -------------------------------------------------------------------------------- /src/integration.tests/integration.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/integration.test.js -------------------------------------------------------------------------------- /src/integration.tests/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/integration.tests/jest.config.js -------------------------------------------------------------------------------- /src/sanitiser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/sanitiser.js -------------------------------------------------------------------------------- /src/sanitiser.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/sanitiser.test.js -------------------------------------------------------------------------------- /src/target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/target.js -------------------------------------------------------------------------------- /src/target.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/target.test.js -------------------------------------------------------------------------------- /src/utils/jestMatchers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/utils/jestMatchers.js -------------------------------------------------------------------------------- /src/utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/utils/logger.js -------------------------------------------------------------------------------- /src/utils/paths.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NimaSoroush/differencify/HEAD/src/utils/paths.js --------------------------------------------------------------------------------