Skip to content
Permalink
Browse files

Chore: Remove unnecessary types

  • Loading branch information...
molant committed Oct 24, 2019
1 parent c0d58ae commit 2e2e67cff1ca140a96fc2d0879113e34c08fd000
Showing with 2 additions and 2 deletions.
  1. +1 −1 packages/connector-jsdom/tests/collect.ts
  2. +1 −1 packages/connector-puppeteer/tests/collect.ts
@@ -49,7 +49,7 @@ test.afterEach.always((t) => {
const pathToFaviconInDir = path.join(__dirname, './fixtures/common/favicon.ico');
const pathToFaviconInLinkElement = path.join(__dirname, './fixtures/common/favicon-32x32.png');

const runTest = async (t: ExecutionContext<CollectContext>, ConnectorConstructor: IConnectorConstructor, serverConfig?: ServerConfiguration): Promise<Server> => {
const runTest = async (t: ExecutionContext<CollectContext>, ConnectorConstructor: IConnectorConstructor, serverConfig?: ServerConfiguration) => {
const { engine } = t.context;
const connector: IConnector = new ConnectorConstructor(engine, {});
const server = await Server.create({ configuration: serverConfig });
@@ -50,7 +50,7 @@ test.afterEach.always((t) => {
const pathToFaviconInDir = path.join(__dirname, './fixtures/common/favicon.ico');
const pathToFaviconInLinkElement = path.join(__dirname, './fixtures/common/favicon-32x32.png');

const runTest = async (t: ExecutionContext<CollectContext>, Connector: IConnectorConstructor, serverConfig: ServerConfiguration): Promise<Server> => {
const runTest = async (t: ExecutionContext<CollectContext>, Connector: IConnectorConstructor, serverConfig: ServerConfiguration) => {
const server = await Server.create({ configuration: serverConfig });
const { engine } = t.context;
const connector = new Connector(engine, { detached: true });

0 comments on commit 2e2e67c

Please sign in to comment.
You can’t perform that action at this time.