Skip to content

Commit

Permalink
Fix tests paths
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jun 8, 2019
1 parent d519ab5 commit 6d54ba6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/new_project.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#!/bin/sh
set -ex

cd test/

# remove temporary blank project
rm -rf tmp-project

# test generating new project in cwd
mkdir tmp-project
cd tmp-project
../../bin/near new_project
../bin/near new_project
#yarn
#yarn remove near-shell
#yarn add ../../
Expand All @@ -18,7 +16,7 @@ cd ..
rm -rf tmp-project

# test generating new project in new dir
../bin/near new_project 'tmp-project'
./bin/near new_project 'tmp-project'
cd tmp-project
FILE=package.json
if test -f "$FILE"; then
Expand Down

0 comments on commit 6d54ba6

Please sign in to comment.