mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
21 lines
451 B
Bash
Executable File
21 lines
451 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -u
|
|
set -o pipefail
|
|
|
|
export PATH="$PATH:./node_modules/.bin"
|
|
|
|
npm run ganache:start -- -b 2 >> /dev/null 2>&1 &
|
|
sleep 5
|
|
cd test/e2e/beta/
|
|
rm -rf drizzle-test
|
|
mkdir drizzle-test && cd drizzle-test
|
|
sudo npm install -g truffle
|
|
truffle unbox drizzle
|
|
echo "Deploying contracts for Drizzle test..."
|
|
truffle compile && truffle migrate
|
|
BROWSER=none npm start >> /dev/null 2>&1 &
|
|
cd ../../../../
|
|
mocha test/e2e/beta/drizzle.spec
|