aboutsummaryrefslogtreecommitdiffstats
path: root/test/mascara.conf.js
blob: 97e53fc2b8a4f759d5cfae84b6e7bab3bb2be732 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const getBaseConfig = require('./base.conf.js')

module.exports = function(config) {
  const settings = getBaseConfig(config)

  // ui and tests
  settings.files.push('dist/mascara/ui.js')
  settings.files.push('dist/mascara/tests.js')
  // service worker background
  settings.files.push({ pattern: 'dist/mascara/background.js', watched: false, included: false, served: true }),
  settings.proxies['/background.js'] = '/base/dist/mascara/background.js'

  // use this to keep the browser open for debugging
  settings.browserNoActivityTimeout = 10000000

  config.set(settings)
}