3495f86c45
* get coverage for console functional test * instrument kibana * collect coverage stats after each test, on url navigation, refresh and back * switch to babel-plugin-istanbul * switch to babel-plugin-istanbul * [coverage service] basic version * trigger final coverage flush when ftr finishes, wait for all logs before exiting * add coverage report generation * increase optimizer timeout, re-run idx/babel plugin before istanbul * increase memory usage for node * put istanbul preset in the beginning to run as the last one * bump babel-plugin-istanbul up to 5.2.0 * cleanup * save unique json files with coverage * [functional test coverage] update coverage.json path * run code coverage on CI * increase max-old-space-size with env variable * fix coverage folder creation * use env variable to configure code coverage * revert ci config changes * remove duplicate plugin * remove comments * fixes
26 lines
871 B
JavaScript
26 lines
871 B
JavaScript
/*
|
|
* Licensed to Elasticsearch B.V. under one or more contributor
|
|
* license agreements. See the NOTICE file distributed with
|
|
* this work for additional information regarding copyright
|
|
* ownership. Elasticsearch B.V. licenses this file to you under
|
|
* the Apache License, Version 2.0 (the "License"); you may
|
|
* not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing,
|
|
* software distributed under the License is distributed on an
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
* KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations
|
|
* under the License.
|
|
*/
|
|
|
|
|
|
module.exports = () => {
|
|
return {
|
|
plugins: ['istanbul']
|
|
};
|
|
};
|