mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 03:01:21 -04:00
[cli-dev-mode/base-path-proxy] switch to integration tests (#136545)
This commit is contained in:
parent
4f817ad8a0
commit
a07fb3063b
3 changed files with 17 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '@kbn/test',
|
preset: '@kbn/test/jest_node',
|
||||||
rootDir: '../..',
|
rootDir: '../..',
|
||||||
roots: ['<rootDir>/packages/kbn-cli-dev-mode'],
|
roots: ['<rootDir>/packages/kbn-cli-dev-mode'],
|
||||||
};
|
};
|
||||||
|
|
13
packages/kbn-cli-dev-mode/jest.integration.config.js
Normal file
13
packages/kbn-cli-dev-mode/jest.integration.config.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||||
|
* or more contributor license agreements. Licensed under the Elastic License
|
||||||
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||||
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||||
|
* Side Public License, v 1.
|
||||||
|
*/
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
preset: '@kbn/test/jest_integration_node',
|
||||||
|
rootDir: '../..',
|
||||||
|
roots: ['<rootDir>/packages/kbn-cli-dev-mode'],
|
||||||
|
};
|
|
@ -18,9 +18,9 @@ import {
|
||||||
} from '@kbn/server-http-tools';
|
} from '@kbn/server-http-tools';
|
||||||
import { ByteSizeValue } from '@kbn/config-schema';
|
import { ByteSizeValue } from '@kbn/config-schema';
|
||||||
|
|
||||||
import { BasePathProxyServer, BasePathProxyServerOptions } from './base_path_proxy_server';
|
import { BasePathProxyServer, BasePathProxyServerOptions } from '../base_path_proxy_server';
|
||||||
import { DevConfig } from './config/dev_config';
|
import { DevConfig } from '../config/dev_config';
|
||||||
import { TestLog } from './log';
|
import { TestLog } from '../log';
|
||||||
|
|
||||||
describe('BasePathProxyServer', () => {
|
describe('BasePathProxyServer', () => {
|
||||||
let server: Server;
|
let server: Server;
|
Loading…
Add table
Add a link
Reference in a new issue