Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Fix tests to not depend on order
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 20, 2019
1 parent c1bfd72 commit 69e8dad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/test_contract.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash
set -ex
rm -rf tmp-project
./bin/near new_project 'tmp-project'
cd tmp-project
rm -rf assembly
mkdir assembly
Expand Down
2 changes: 1 addition & 1 deletion test/test_new_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ yarn remove near-shell
yarn add ../
yarn test
cd ..
rm -rf tmp-project

# test generating new project in new dir
rm -rf tmp-project
./bin/near new_project 'tmp-project'
cd tmp-project
FILE=package.json
Expand Down

0 comments on commit 69e8dad

Please sign in to comment.