mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
* chore(project): install prettier and lint-staged * chore(project): apply prettier to html too * chore(project): git ignore eslintcache * chore(project): add a comment about format script * chore(prettier): update printWidth * chore(prettier): remove useTabs option * chore(prettier): add HTML validation * refactor(prettier): fix closing tags * feat(prettier): define angular parser for html templates * style(prettier): run prettier on codebase Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
45 lines
1.2 KiB
JavaScript
45 lines
1.2 KiB
JavaScript
// base path, that will be used to resolve files and exclude
|
|
basePath = '../..';
|
|
|
|
// list of files / patterns to load in the browser
|
|
files = [JASMINE, JASMINE_ADAPTER, 'dist/angular.js', 'dist/vendor.js', 'dist/portainer.js', 'bower_components/angular-mocks/angular-mocks.js', 'test/unit/**/*.spec.js'];
|
|
|
|
// use dots reporter, as travis terminal does not support escaping sequences
|
|
// possible values: 'dots' || 'progress'
|
|
reporters = 'progress';
|
|
|
|
// these are default values, just to show available options
|
|
|
|
// web server port
|
|
port = 8089;
|
|
|
|
// cli runner port
|
|
runnerPort = 9109;
|
|
|
|
urlRoot = '/__test/';
|
|
|
|
// enable / disable colors in the output (reporters and logs)
|
|
colors = true;
|
|
|
|
// level of logging
|
|
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
|
|
logLevel = LOG_INFO;
|
|
|
|
// enable / disable watching file and executing tests whenever any file changes
|
|
autoWatch = false;
|
|
|
|
// polling interval in ms (ignored on OS that support inotify)
|
|
autoWatchInterval = 0;
|
|
|
|
// Start these browsers, currently available:
|
|
// - Chrome
|
|
// - ChromeCanary
|
|
// - Firefox
|
|
// - Opera
|
|
// - Safari
|
|
// - PhantomJS
|
|
browsers = ['Chrome'];
|
|
|
|
// Continuous Integration mode
|
|
// if true, it capture browsers, run tests and exit
|
|
singleRun = true;
|