chore: remove unused api.ts
This commit is contained in:
parent
9fa06be49e
commit
2e8b8b6f16
|
|
@ -1,46 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { Accessibility } from './accessibility';
|
||||
export { Android, AndroidDevice, AndroidWebView, AndroidInput, AndroidSocket } from './android';
|
||||
export { Browser } from './browser';
|
||||
export { BrowserContext } from './browserContext';
|
||||
export type { BrowserServer } from './browserType';
|
||||
export { BrowserType } from './browserType';
|
||||
export { Clock } from './clock';
|
||||
export { ConsoleMessage } from './consoleMessage';
|
||||
export { Coverage } from './coverage';
|
||||
export { Dialog } from './dialog';
|
||||
export { Download } from './download';
|
||||
export { Electron, ElectronApplication } from './electron';
|
||||
export { Locator, FrameLocator } from './locator';
|
||||
export { ElementHandle } from './elementHandle';
|
||||
export { FileChooser } from './fileChooser';
|
||||
export type { Logger } from './types';
|
||||
export { TimeoutError } from './errors';
|
||||
export { Frame } from './frame';
|
||||
export { Keyboard, Mouse, Touchscreen } from './input';
|
||||
export { JSHandle } from './jsHandle';
|
||||
export { Request, Response, Route, WebSocket } from './network';
|
||||
export { APIRequest, APIRequestContext, APIResponse } from './fetch';
|
||||
export { Page } from './page';
|
||||
export { Selectors } from './selectors';
|
||||
export { Tracing } from './tracing';
|
||||
export { Video } from './video';
|
||||
export { Worker } from './worker';
|
||||
export { CDPSession } from './cdpSession';
|
||||
export { Playwright } from './playwright';
|
||||
export { WebError } from './webError';
|
||||
|
|
@ -98,7 +98,7 @@ export class HarRouter {
|
|||
}
|
||||
|
||||
async [Symbol.asyncDispose]() {
|
||||
await this.dispose();
|
||||
this.dispose();
|
||||
}
|
||||
|
||||
dispose() {
|
||||
|
|
|
|||
|
|
@ -76,15 +76,6 @@ const test = base.extend<TestOptions>({
|
|||
},
|
||||
});
|
||||
|
||||
test.use({
|
||||
launchOptions: async ({ launchOptions }, use) => {
|
||||
await use({
|
||||
...launchOptions,
|
||||
proxy: { server: 'per-context' }
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
const kDummyFileName = __filename;
|
||||
const kValidationSubTests: [BrowserContextOptions, string][] = [
|
||||
[{ clientCertificates: [{ origin: 'test' }] }, 'None of cert, key, passphrase or pfx is specified'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue