parent
dd90e8e364
commit
56db3999ad
@ -0,0 +1,13 @@ |
||||
const Helper = require('./util/mascara-test-helper.js') |
||||
|
||||
window.METAMASK_SKIP_RELOAD = true |
||||
window.addEventListener('load', () => { |
||||
// inject app container
|
||||
const body = document.body |
||||
const container = document.createElement('div') |
||||
container.id = 'app-content' |
||||
body.appendChild(container) |
||||
|
||||
// start ui
|
||||
require('../src/ui.js') |
||||
}) |
@ -1,5 +0,0 @@ |
||||
const Helper = require('./util/mascara-test-helper.js') |
||||
|
||||
window.addEventListener('load', () => { |
||||
require('../src/ui.js') |
||||
}) |
@ -0,0 +1,14 @@ |
||||
const getBaseConfig = require('./base.conf.js') |
||||
|
||||
module.exports = function(config) { |
||||
const settings = getBaseConfig(config) |
||||
settings.files.push('mascara/test/ui-bundle.js') |
||||
settings.files.push('mascara/test/test-bundle.js') |
||||
// settings.files.push('test/integration/bundle.js')
|
||||
settings.files.push({ pattern: 'mascara/test/background.js', watched: false, included: false, served: true }), |
||||
// /background.js
|
||||
|
||||
settings.proxies['/background.js'] = '/base/mascara/test/background.js' |
||||
|
||||
config.set(settings) |
||||
} |
@ -0,0 +1,8 @@ |
||||
const getBaseConfig = require('./base.conf.js') |
||||
|
||||
module.exports = function(config) { |
||||
const settings = getBaseConfig(config) |
||||
settings.files.push('development/bundle.js') |
||||
settings.files.push('test/integration/bundle.js') |
||||
config.set(settings) |
||||
} |
Loading…
Reference in new issue