text: const path = require('path')
  const _ = require('lodash')
  const smokesignals = require('smokesignals')
  const Testpack = require('./testpack')
  
  const AppConfigLocales = {
    en: {
      helloworld: 'hello world',
      hello: {
        user: 'hello {{username}}'
      }
    },
    de: {
      helloworld: 'hallo Welt',
      hello: {
        user: 'hallo {{username}}'
      }
    }
  }
  
  const App = {
    pkg: {
      name: 'core-trailpack-test'
    },
    api: {
      customkey: {}
    },
    config: {
      main: {
        packs: [
          Testpack
        ],
        paths: {
          testdir: path.resolve(__dirname, 'testdir')
        }
      },
      testpack: {
        override: 'ok',
        defaultArray: ['ko'],
        defaultArrayWithDuplicates: ['ko', 'test'],
        defaultObject: {
          override: 'ok'
        }
      },
      i18n: {
        lng: 'en',
        resources: {
          en: {
            translation: AppConfigLocales.en
          },
          de: {
            translation: AppConfigLocales.de
          }
        }
      }
    },
    locales: AppConfigLocales
  }
  
  _.defaultsDeep(App, smokesignals.FailsafeConfig)
  module.exports = App
  