Skip to content

Commit

Permalink
feat: examples generated for added build e2e scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 committed Sep 24, 2023
1 parent f4713a7 commit 7de2ec9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion examples/algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions examples/basic/src/components/header/Header.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -30,7 +29,6 @@ const Header = ({ nav }: IHeader): JSX.Element => {
<NavBar nav={nav} headerPadding={headerPadding} />
</div>
<div className="flex items-center self-center">

<CartMenu />
</div>
</div>
Expand Down

0 comments on commit 7de2ec9

Please sign in to comment.