diff --git a/examples/algolia/package.json b/examples/algolia/package.json index f5e2c7a4..c5028e14 100644 --- a/examples/algolia/package.json +++ b/examples/algolia/package.json @@ -15,7 +15,9 @@ "test:coverage": "vitest run --coverage", "test:watch": "vitest", "test:ci:e2e": "NODE_ENV=test yarn build && (yarn start & (sleep 5 && npx playwright install --with-deps && yarn test:e2e && kill $(lsof -t -i tcp:3000)))", - "test:e2e": "NODE_ENV=test playwright test" + "test:e2e": "NODE_ENV=test playwright test", + "build:e2e": "NODE_ENV=test next build", + "start:e2e": "NODE_ENV=test next start" }, "dependencies": { "@algolia/react-instantsearch-widget-color-refinement-list": "^1.4.7", diff --git a/examples/basic/package.json b/examples/basic/package.json index 3528a8b4..953cdd00 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -15,7 +15,9 @@ "test:coverage": "vitest run --coverage", "test:watch": "vitest", "test:ci:e2e": "NODE_ENV=test yarn build && (yarn start & (sleep 5 && npx playwright install --with-deps && yarn test:e2e && kill $(lsof -t -i tcp:3000)))", - "test:e2e": "NODE_ENV=test playwright test" + "test:e2e": "NODE_ENV=test playwright test", + "build:e2e": "NODE_ENV=test next build", + "start:e2e": "NODE_ENV=test next start" }, "dependencies": { "@elasticpath/react-shopper-hooks": "^0.3.1", diff --git a/examples/basic/src/components/header/Header.tsx b/examples/basic/src/components/header/Header.tsx index 030a698a..77360ac4 100644 --- a/examples/basic/src/components/header/Header.tsx +++ b/examples/basic/src/components/header/Header.tsx @@ -1,5 +1,4 @@ import { NavigationNode } from "../../lib/build-site-navigation"; - import MobileNavBar from "./navigation/MobileNavBar"; import EpIcon from "../../../public/icons/ep-icon.svg"; import NavBar from "./navigation/NavBar"; @@ -30,7 +29,6 @@ const Header = ({ nav }: IHeader): JSX.Element => {
-