mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 05:15:21 +03:00
Fix Sonar issues Cli and CliAutoComplete
This commit is contained in:
parent
f87c0f5461
commit
a0f1cadb32
6 changed files with 206 additions and 169 deletions
|
@ -1,6 +1,6 @@
|
|||
module.exports = function(config) {
|
||||
config.set({
|
||||
reporters: ['tfs'],
|
||||
reporters: ['tfs', 'spec'],
|
||||
basePath: '../',
|
||||
frameworks: ['mocha', 'chai', 'sinon-chai'],
|
||||
files: [
|
||||
|
@ -15,14 +15,14 @@ module.exports = function(config) {
|
|||
'./src/js/CliAutoComplete.js',
|
||||
'./src/js/tabs/cli.js',
|
||||
'./src/js/phones_ui.js',
|
||||
'./test/**/*.js'
|
||||
'./test/**/*.js',
|
||||
],
|
||||
browsers: ['ChromeHeadlessNoSandbox'],
|
||||
customLaunchers: {
|
||||
ChromeHeadlessNoSandbox: {
|
||||
base: 'ChromeHeadless',
|
||||
flags: ['--no-sandbox']
|
||||
}
|
||||
flags: ['--no-sandbox'],
|
||||
},
|
||||
},
|
||||
tfsReporter: {
|
||||
outputDir: 'testresults',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue