From 8a6bf4d1c90d494a890ed54d23f67a73c94a16d6 Mon Sep 17 00:00:00 2001 From: Nidhi Kumari Date: Wed, 25 Jan 2023 09:24:13 +0530 Subject: [PATCH] Nit fixes for story-test integration (#17344) * nit fix for story-test integration * updated package.jsson --- development/highlights/storybook.js | 2 ++ package.json | 4 ++-- ui/components/app/app-header/app-header.stories.js | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/development/highlights/storybook.js b/development/highlights/storybook.js index 800a4accb..357faf13a 100644 --- a/development/highlights/storybook.js +++ b/development/highlights/storybook.js @@ -75,6 +75,8 @@ function urlForStoryFile(filename, artifactBase) { } /** + * Get the ID for a story file. + * * @param {fileName} string - The fileName to get the story id. * @returns The id of the story. */ diff --git a/package.json b/package.json index b2eab479c..b756c9929 100644 --- a/package.json +++ b/package.json @@ -309,7 +309,6 @@ "nonce-tracker": "^1.0.0", "obj-multiplex": "^1.0.0", "pify": "^5.0.0", - "playwright": "^1.29.2", "promise-to-callback": "^1.0.0", "prop-types": "^15.6.1", "pubnub": "4.27.3", @@ -344,7 +343,6 @@ "unicode-confusables": "^0.1.1", "uuid": "^8.3.2", "valid-url": "^1.0.9", - "wait-on": "^7.0.1", "web3-stream-provider": "^4.0.0", "zxcvbn": "^4.4.2" }, @@ -484,6 +482,7 @@ "nock": "^13.2.9", "node-fetch": "^2.6.1", "nyc": "^15.0.0", + "playwright": "^1.29.2", "polyfill-crypto.getrandomvalues": "^1.0.0", "prettier": "^2.7.1", "prettier-plugin-sort-json": "^1.0.0", @@ -519,6 +518,7 @@ "vinyl-buffer": "^1.0.1", "vinyl-source-stream": "^2.0.0", "vinyl-sourcemaps-apply": "^0.2.1", + "wait-on": "^7.0.1", "watchify": "^4.0.0", "webextension-polyfill": "^0.8.0", "webpack": "^5.75.0", diff --git a/ui/components/app/app-header/app-header.stories.js b/ui/components/app/app-header/app-header.stories.js index ab2700dcc..b2b75ae0b 100644 --- a/ui/components/app/app-header/app-header.stories.js +++ b/ui/components/app/app-header/app-header.stories.js @@ -1,7 +1,6 @@ import React from 'react'; import AppHeader from '.'; -// eslint-disable-next-line import/no-anonymous-default-export export default { title: 'Components/App/AppHeader',