mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 19:27:49 +00:00
Add more anonymous unit tests
This commit is contained in:
@@ -168,6 +168,14 @@ else
|
||||
echo mocha index5.js
|
||||
exit 1
|
||||
fi
|
||||
# Anonymous API unit tests
|
||||
$mymocha index6.js --reporter ./node_modules/mochawesome --reporter-options reportDir=output/,reportFilename=report6.html
|
||||
if [ $? -eq 0 ]; then
|
||||
echo OK
|
||||
else
|
||||
echo mocha index6.js
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Anonymous SQL unit tests
|
||||
psql ${PGSAIL_DB_URI} < sql/anonymous.sql > output/anonymous.sql.output
|
||||
|
Reference in New Issue
Block a user