1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-04-21 09:39:03 +00:00

init device in docker

This commit is contained in:
Vladimir Volek 2019-01-28 13:21:13 +01:00
parent 09a5bb5aef
commit 716f9216e3
3 changed files with 11 additions and 7 deletions

View File

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

View File

@ -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/#/" &

View File

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