From 2d3a86d9850add25c2c525ce8030f81e0b8c3ef0 Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Mon, 6 Jan 2020 20:13:56 +0000 Subject: [PATCH] Axe storyshots: move to original @wordpress/jest-puppeteer-axe package --- .../storyshots/storyshots-puppeteer/package.json | 2 +- .../storyshots-puppeteer/src/axeTest.ts | 2 +- yarn.lock | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 8e2a25f41ed2..770057dde550 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -29,10 +29,10 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@hypnosphi/jest-puppeteer-axe": "^1.4.0", "@storybook/csf": "0.0.1", "@storybook/node-logger": "5.3.0-rc.10", "@types/jest-image-snapshot": "^2.8.0", + "@wordpress/jest-puppeteer-axe": "^1.5.0", "core-js": "^3.0.1", "jest-image-snapshot": "^2.8.2", "regenerator-runtime": "^0.13.3" diff --git a/addons/storyshots/storyshots-puppeteer/src/axeTest.ts b/addons/storyshots/storyshots-puppeteer/src/axeTest.ts index 920af43c09e9..02ad85001608 100644 --- a/addons/storyshots/storyshots-puppeteer/src/axeTest.ts +++ b/addons/storyshots/storyshots-puppeteer/src/axeTest.ts @@ -1,4 +1,4 @@ -import '@hypnosphi/jest-puppeteer-axe'; +import '@wordpress/jest-puppeteer-axe'; import { defaultCommonConfig, CommonConfig } from './config'; import { puppeteerTest } from './puppeteerTest'; diff --git a/yarn.lock b/yarn.lock index 0ac94146702c..538caf5bba7f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2400,14 +2400,6 @@ dependencies: "@hapi/hoek" "^8.3.0" -"@hypnosphi/jest-puppeteer-axe@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@hypnosphi/jest-puppeteer-axe/-/jest-puppeteer-axe-1.4.0.tgz#aa7a348934178fcb41defb688ebd493970e3d660" - integrity sha512-sQ1BpqNE9C2d0afEtm3LLQWfQjITuxHXaLF79sGDUGa7/DPnfn2qgzcQOtL9uPu7KnZOz95dmsUgoHXkyQbrmQ== - dependencies: - "@babel/runtime" "^7.4.4" - axe-puppeteer "^1.0.0" - "@hypnosphi/jscodeshift@^0.6.4": version "0.6.4" resolved "https://registry.yarnpkg.com/@hypnosphi/jscodeshift/-/jscodeshift-0.6.4.tgz#49a3be6ac515af831f8a3e630380e3511c8c0fb7" @@ -4723,6 +4715,14 @@ text-table "^0.2.0" webpack-log "^1.1.2" +"@wordpress/jest-puppeteer-axe@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@wordpress/jest-puppeteer-axe/-/jest-puppeteer-axe-1.5.0.tgz#b1a5eb15f38afa691b9f252040666c18363717f7" + integrity sha512-qRTKIdlp+15P+0qqb9FnWmDlS3owlGPE4VcZqVUwiaJAL9pOOqd7uLFca+86SiWJm0VVHGKP+6q7yjfarPG8Og== + dependencies: + "@babel/runtime" "^7.4.4" + axe-puppeteer "^1.0.0" + "@wry/equality@^0.1.2": version "0.1.9" resolved "https://registry.yarnpkg.com/@wry/equality/-/equality-0.1.9.tgz#b13e18b7a8053c6858aa6c85b54911fb31e3a909"