mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -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 = {
|
||||
preset: '@kbn/test',
|
||||
preset: '@kbn/test/jest_node',
|
||||
rootDir: '../..',
|
||||
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';
|
||||
import { ByteSizeValue } from '@kbn/config-schema';
|
||||
|
||||
import { BasePathProxyServer, BasePathProxyServerOptions } from './base_path_proxy_server';
|
||||
import { DevConfig } from './config/dev_config';
|
||||
import { TestLog } from './log';
|
||||
import { BasePathProxyServer, BasePathProxyServerOptions } from '../base_path_proxy_server';
|
||||
import { DevConfig } from '../config/dev_config';
|
||||
import { TestLog } from '../log';
|
||||
|
||||
describe('BasePathProxyServer', () => {
|
||||
let server: Server;
|
Loading…
Add table
Add a link
Reference in a new issue