mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
set time if platform is mascara
This commit is contained in:
parent
7bcca782cb
commit
c5a2527c17
@ -15,6 +15,7 @@ const container = document.getElementById('app-content')
|
||||
|
||||
var name = 'popup'
|
||||
window.METAMASK_UI_TYPE = name
|
||||
window.METAMASK_PLATFORM_TYPE = 'mascara'
|
||||
|
||||
let intervalDelay = Math.floor(Math.random() * (30000 - 1000)) + 1000
|
||||
|
||||
|
@ -11,8 +11,10 @@ QUnit.test('render init screen', (assert) => {
|
||||
})
|
||||
|
||||
async function runFirstTimeUsageTest(assert, done) {
|
||||
|
||||
await timeout()
|
||||
let waitTime = 0
|
||||
window.METAMASK_SKIP_RELOAD = true
|
||||
if (window.METAMASK_PLATFORM_TYPE === 'mascara') waitTime = 1000
|
||||
await timeout(waitTime)
|
||||
|
||||
const app = $('#app-content')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user