%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/ppaobm/vendor/bower-asset/fullcalendar/ |
Upload File : |
const fs = require('fs')
const mkdirp = require('mkdirp')
writeConfig()
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '',
// frameworks to use
frameworks: [ 'jasmine' ],
// list of files / patterns to load in the browser
files: [
'node_modules/moment/moment.js',
'node_modules/moment/locale/es.js', // only spanish for testing
'node_modules/moment-timezone/builds/moment-timezone-with-data.js',
'node_modules/rrule/dist/es5/rrule.js',
'node_modules/jquery/dist/jquery.js',
'node_modules/components-jqueryui/jquery-ui.js',
'node_modules/native-promise-only/lib/npo.src.js', // Promises needed by xhr-mock
'node_modules/xhr-mock/dist/xhr-mock.js', // TODO: should include this via require(), but .d.ts problems
'node_modules/jasmine-jquery/lib/jasmine-jquery.js',
'node_modules/jquery-simulate/jquery.simulate.js',
'node_modules/luxon/build/global/luxon.js', // for testing IE11, comment out this line
// core and plugin files (ordering matters because of dependencies)
'dist/core/main.+(js|css)',
'dist/core/locales-all.js',
'dist/interaction/main.+(js|css)',
'dist/daygrid/main.+(js|css)',
'dist/timegrid/main.+(js|css)',
'dist/list/main.+(js|css)',
'dist/rrule/main.+(js|css)',
'dist/google-calendar/main.+(js|css)',
'dist/luxon/main.+(js|css)',
'dist/moment/main.+(js|css)',
'dist/moment-timezone/main.+(js|css)',
'dist/bootstrap/main.+(js|css)',
{ pattern: 'dist/*/*.map', included: false, nocache: true, watched: false },
// a way to dump variables into the test environment
'tmp/automated-test-config.js',
// tests
'tests/automated/base.css',
'tmp/automated-tests.js',
{ pattern: 'tmp/automated-tests.js.map', included: false, nocache: true, watched: false }
],
// make console errors aware of source files
preprocessors: {
'**/*.js': ['sourcemap']
},
// test results reporter to use
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage', 'verbose'
reporters: [ 'dots' ],
// web server port
port: 9876,
// enable / disable colors in the output (reporters and logs)
colors: true,
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
// If browser does not capture in given timeout [ms], kill it
captureTimeout: 60000,
customLaunchers: {
ChromeHeadless_custom: {
base: 'ChromeHeadless',
flags: [
'--no-sandbox', // needed for TravisCI: https://docs.travis-ci.com/user/chrome#Sandboxing
'--window-size=1280,1696' // some tests only work with larger window (w?, h?)
]
}
}
})
}
function writeConfig() {
let config = {
isCi: Boolean(process.env.CI)
}
mkdirp('tmp')
fs.writeFileSync(
'tmp/automated-test-config.js',
'window.karmaConfig = ' + JSON.stringify(config),
{ encoding: 'utf8' }
)
}