Skip to content

Commit

Permalink
Breaking: Replace chrome connector with puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
molant committed May 13, 2019
1 parent 4f26f93 commit b5d91b6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/utils-tests-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@hint/connector-chrome": "^3.0.1",
"@hint/connector-puppeteer": "^1.0.0",
"@hint/connector-jsdom": "^3.0.1",
"@hint/connector-local": "^2.0.2",
"@hint/utils": "^1.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/utils-tests-helpers/src/connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
*/
import { IConnectorConstructor } from 'hint';

import ChromeConnector from '@hint/connector-chrome';
import PuppeteerConnector from '@hint/connector-puppeteer';
import JSDOMConnector from '@hint/connector-jsdom';

/** The IDs of the available connectors to test. */
export const ids = [
'chrome',
'puppeteer',
'jsdom'
];

/** The Constructors of the available connectors to test. */
export const connectors: { ctor: IConnectorConstructor; name: string }[] = [
{
ctor: ChromeConnector,
name: 'chrome'
ctor: PuppeteerConnector,
name: 'puppeteer'
},
{
ctor: JSDOMConnector,
Expand Down
2 changes: 1 addition & 1 deletion packages/utils-tests-helpers/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"tests/**/*.ts"
],
"references": [
{ "path": "../connector-chrome" },
{ "path": "../connector-puppeteer" },
{ "path": "../connector-jsdom" },
{ "path": "../connector-local" },
{ "path": "../hint" },
Expand Down
15 changes: 10 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,11 @@
resolved "https://registry.yarnpkg.com/@types/lockfile/-/lockfile-1.0.1.tgz#434a3455e89843312f01976e010c60f1bcbd56f7"
integrity sha512-65WZedEm4AnOsBDdsapJJG42MhROu3n4aSSiu87JXF/pSdlubxZxp3S1yz3kTfkJ2KBPud4CpjoHVAptOm9Zmw==

"@types/lodash@^4.14.123":
version "4.14.125"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.125.tgz#b5fa71f3080a2136ba2702c390ffe528ec1e3980"
integrity sha512-s29jU/MIOSddXeji0TSZPJjf0agnfJYpWeKlr79BbtXlfuYamGVyCNQA2IRi5/plaQiNSxMmNGdvFbdtMMJ3nw==

"@types/lodash@^4.14.124":
version "4.14.124"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.124.tgz#16fb067a8fc4be42f044c505d8b5316c6f54de93"
Expand Down Expand Up @@ -886,16 +891,16 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.8.tgz#e5d71173c95533be9842b2c798978f095f912aab"
integrity sha512-szA3x/3miL90ZJxUCzx9haNbK5/zmPieGraZEe4WI+3srN0eGLiT22NXeMHmyhNEopn+IrxqMc7wdVwvPl8meg==

"@types/node@^12.0.0":
version "12.0.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.0.0.tgz#d11813b9c0ff8aaca29f04cbc12817f4c7d656e5"
integrity sha512-Jrb/x3HT4PTJp6a4avhmJCDEVrPdqLfl3e8GGMbpkGGdwAV5UGlIs4vVEfsHHfylZVOKZWpOqmqFH8CbfOZ6kg==

"@types/node@^11.13.8":
version "11.13.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.10.tgz#4df59e5966b56f512bac98898bcbee5067411f0f"
integrity sha512-leUNzbFTMX94TWaIKz8N15Chu55F9QSH+INKayQr5xpkasBQBRF3qQXfo3/dOnMU/dEIit+Y/SU8HyOjq++GwA==

"@types/node@^12.0.0":
version "12.0.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.0.0.tgz#d11813b9c0ff8aaca29f04cbc12817f4c7d656e5"
integrity sha512-Jrb/x3HT4PTJp6a4avhmJCDEVrPdqLfl3e8GGMbpkGGdwAV5UGlIs4vVEfsHHfylZVOKZWpOqmqFH8CbfOZ6kg==

"@types/node@^8.0.7":
version "8.10.48"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.48.tgz#e385073561643a9ba6199a1985ffc03530f90781"
Expand Down

0 comments on commit b5d91b6

Please sign in to comment.