mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
test - mascara - move skip reload test flag
This commit is contained in:
parent
0ab37b52c0
commit
a9900be085
@ -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…
Reference in New Issue
Block a user