[cli-dev-mode/base-path-proxy] switch to integration tests (#136545)

This commit is contained in:
Spencer 2022-07-18 10:49:22 -05:00 committed by GitHub
parent 4f817ad8a0
commit a07fb3063b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 4 deletions

View file

@ -7,7 +7,7 @@
*/
module.exports = {
preset: '@kbn/test',
preset: '@kbn/test/jest_node',
rootDir: '../..',
roots: ['<rootDir>/packages/kbn-cli-dev-mode'],
};

View 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'],
};

View file

@ -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;