kibana/x-pack/test_utils/kbn_server_config.ts
Tyler Smalley b9f81edffe
No longer package X-Pack as a node module (#32722)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-04-10 13:07:23 -07:00

35 lines
768 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { resolve } from 'path';
type Licenses = 'oss' | 'basic' | 'gold' | 'trial';
export const TestKbnServerConfig = {
kbn: {
plugins: { paths: [resolve(__dirname, '../../x-pack')] },
xpack: {
monitoring: {
tests: {
cloud_detector: {
enabled: false,
},
},
},
},
},
es: {
license: 'trial' as Licenses,
},
users: [
{
username: 'kibana_user',
password: 'x-pack-test-password',
roles: ['kibana_user'],
},
],
};