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:
parent
09a5bb5aef
commit
716f9216e3
test
6
test/scripts/init-device.js
Normal file
6
test/scripts/init-device.js
Normal file
@ -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…
Reference in New Issue
Block a user