Skip to content

Commit

Permalink
better e2e test command
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Aug 1, 2017
1 parent b49a5a3 commit 5bef2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm install $preGitFolder
echo "Package.json after installing pre-git"

# add pre-commit sample command
sed 's/"pre-commit": \[\]/"pre-commit": \["DEBUG=pre-git echo pre-commit testing..."\]/g' package.json > package.out
sed 's/"pre-commit": \[\]/"pre-commit": \["echo pre-commit testing..."\]/g' package.json > package.out
mv package.out package.json
cat package.json

Expand All @@ -39,7 +39,7 @@ git add package.json
# touch something
echo node_modules/ >> .gitignore
git add .gitignore
git commit -m "chore(test): this is a test commit"
DEBUG=pre-git git commit -m "chore(test): this is a test commit"

ls -la
git log --oneline
Expand Down

0 comments on commit 5bef2e1

Please sign in to comment.