mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
reindent to satisfy new indentation check algorithm
This commit is contained in:
parent
3572ab8e17
commit
b31dae18f5
2 changed files with 12 additions and 14 deletions
|
@ -86,19 +86,16 @@ module.exports = class ClusterManager {
|
|||
const chokidar = require('chokidar');
|
||||
const fromRoot = require('../../utils/from_root');
|
||||
|
||||
const watchPaths = uniq(
|
||||
[
|
||||
fromRoot('src/core_plugins'),
|
||||
fromRoot('src/server'),
|
||||
fromRoot('src/ui'),
|
||||
fromRoot('src/utils'),
|
||||
fromRoot('config'),
|
||||
...extraPaths
|
||||
]
|
||||
.map(path => resolve(path))
|
||||
);
|
||||
const watchPaths = [
|
||||
fromRoot('src/core_plugins'),
|
||||
fromRoot('src/server'),
|
||||
fromRoot('src/ui'),
|
||||
fromRoot('src/utils'),
|
||||
fromRoot('config'),
|
||||
...extraPaths
|
||||
].map(path => resolve(path));
|
||||
|
||||
this.watcher = chokidar.watch(watchPaths, {
|
||||
this.watcher = chokidar.watch(uniq(watchPaths), {
|
||||
cwd: fromRoot('.'),
|
||||
ignored: /[\\\/](\..*|node_modules|bower_components|public|__tests__)[\\\/]/
|
||||
});
|
||||
|
|
|
@ -73,8 +73,9 @@ bdd.describe('visualize app', function describeIndexTests() {
|
|||
|
||||
bdd.it('should show correct data, take screenshot', function () {
|
||||
var chartHeight = 0;
|
||||
var expectedChartData = [ '0 2,088', '2,000 2,748', '4,000 2,707', '6,000 2,876',
|
||||
'8,000 2,863', '10,000 147', '12,000 148', '14,000 129', '16,000 161', '18,000 137'
|
||||
var expectedChartData = [
|
||||
'0 2,088', '2,000 2,748', '4,000 2,707', '6,000 2,876',
|
||||
'8,000 2,863', '10,000 147', '12,000 148', '14,000 129', '16,000 161', '18,000 137'
|
||||
];
|
||||
|
||||
return PageObjects.common.try(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue