Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Jul 3, 2023
1 parent ffc1558 commit dd7cfb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kill_app || echo "ok, no previous running process on port $PORT"

rm -rf viteapp

# Vite
# create app
npm create vite@latest viteapp -- --template react

# drei
Expand All @@ -31,7 +31,7 @@ npm create vite@latest viteapp -- --template react
# App.jsx
cp App.jsx viteapp/src/App.jsx

# npm run dev + jest
# build+start+jest
(cd viteapp; npm run build; npm run preview -- --port $PORT &)
npx jest snapshot.test.js || kill_app
kill_app
Expand All @@ -49,7 +49,7 @@ rm -rf viteapp

rm -rf craapp

# CRA
# create app
npx create-react-app craapp

# drei
Expand All @@ -58,7 +58,7 @@ npx create-react-app craapp
# App.jsx
cp App.jsx craapp/src/App.js

# npm run dev + jest
# build+start+jest
(cd craapp; npm run build; npx serve -s -p $PORT build &)
npx jest snapshot.test.js || kill_app
kill_app
Expand Down

0 comments on commit dd7cfb6

Please sign in to comment.