init device in docker

pull/311/head
Vladimir Volek 5 years ago
parent 09a5bb5aef
commit 716f9216e3

@ -0,0 +1,6 @@
import 'babel-polyfill';
import { initSeedAllDevice } from 'trezor-bridge-communicator';
(async () => {
await initSeedAllDevice();
})();

@ -13,5 +13,8 @@ cd /trezor-emulator/trezor-core && PYOPT=0 ./emu.sh &
# run wallet
cd /trezor-wallet && yarn run server:stable &
# init device
npx babel-node test/scripts/init-device.js &
# run tests
yarn run test-integration:gitlab -c baseUrl="https://localhost:8080/#/"
yarn run test-integration:gitlab -c baseUrl="https://localhost:8080/#/" &

@ -1,7 +1,2 @@
import 'babel-polyfill';
import './commands';
import { initSeedAllDevice } from 'trezor-bridge-communicator';
before(async () => {
await initSeedAllDevice();
});
import './commands';
Loading…
Cancel
Save