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

Commit

Permalink
Add generate-key test
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Nov 5, 2019
1 parent d4961f2 commit 4ba6929
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/test_generate_key.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#!/bin/bash
set -ex
KEY_FILE=neardev/default/generate-key-test.json
rm -f KEY_FILE

./bin/near generate-key generate-key-test

if [[ ! -f "${KEY_FILE}" ]]; then
echo "FAILURE Key file doesn't exist"
exit 1
fi

0 comments on commit 4ba6929

Please sign in to comment.