test - mascara - move skip reload test flag

feature/default_network_editable
kumavis 7 years ago
parent 0ab37b52c0
commit a9900be085
  1. 1
      mascara/test/test-ui.js
  2. 1
      test/integration/lib/first-time.js

@ -1,6 +1,7 @@
const Helper = require('./util/mascara-test-helper.js')
window.addEventListener('load', () => {
window.METAMASK_SKIP_RELOAD = true
// inject app container
const body = document.body
const container = document.createElement('div')

@ -12,7 +12,6 @@ QUnit.test('render init screen', (assert) => {
async function runFirstTimeUsageTest(assert, done) {
let waitTime = 0
window.METAMASK_SKIP_RELOAD = true
if (window.METAMASK_PLATFORM_TYPE === 'mascara') waitTime = 2000
await timeout(waitTime)

Loading…
Cancel
Save