mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Update supertest
and superagent
to latest version (#183587)
## Summary Related to https://github.com/elastic/kibana/issues/7104 Update supertest, superagent, and the corresponding type package, to their latest version. (of course, types had some signature changes and we're massively using supertest in all our FTR suites so the whole Kibana multiverse has to review it) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
4b7d014582
commit
148eeec0fe
153 changed files with 439 additions and 431 deletions
|
@ -28,7 +28,7 @@ describe('BasePathProxyServer', () => {
|
|||
let logger: TestLog;
|
||||
let config: IHttpConfig;
|
||||
let basePath: string;
|
||||
let proxySupertest: supertest.SuperTest<supertest.Test>;
|
||||
let proxySupertest: supertest.Agent;
|
||||
|
||||
beforeEach(async () => {
|
||||
logger = new TestLog();
|
||||
|
@ -330,7 +330,7 @@ describe('BasePathProxyServer', () => {
|
|||
|
||||
describe('shouldRedirect', () => {
|
||||
let proxyServerWithoutShouldRedirect: BasePathProxyServer;
|
||||
let proxyWithoutShouldRedirectSupertest: supertest.SuperTest<supertest.Test>;
|
||||
let proxyWithoutShouldRedirectSupertest: supertest.Agent;
|
||||
|
||||
beforeEach(async () => {
|
||||
// setup and start a proxy server which does not use "shouldRedirectFromOldBasePath"
|
||||
|
@ -373,7 +373,7 @@ describe('BasePathProxyServer', () => {
|
|||
|
||||
describe('constructor option for sending in a custom basePath', () => {
|
||||
let proxyServerWithFooBasePath: BasePathProxyServer;
|
||||
let proxyWithFooBasePath: supertest.SuperTest<supertest.Test>;
|
||||
let proxyWithFooBasePath: supertest.Agent;
|
||||
|
||||
beforeEach(async () => {
|
||||
// setup and start a proxy server which uses a basePath of "foo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue