Socket
Socket
Sign inDemoInstall

@web/test-runner-commands

Package Overview
Dependencies
190
Maintainers
7
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.3 to 0.4.4

6

CHANGELOG.md
# @web/test-runner-commands
## 0.4.4
### Patch Changes
- a6a018da: fix type references
## 0.4.3

@@ -4,0 +10,0 @@

6

package.json
{
"name": "@web/test-runner-commands",
"version": "0.4.3",
"version": "0.4.4",
"publishConfig": {

@@ -51,6 +51,6 @@ "access": "public"

"devDependencies": {
"@web/test-runner-chrome": "^0.9.0",
"@web/test-runner-playwright": "^0.8.0",
"@web/test-runner-chrome": "^0.10.0",
"@web/test-runner-playwright": "^0.8.5",
"mocha": "^8.2.1"
}
}
import { TestRunnerPlugin } from '@web/test-runner-core';
import type { ChromeLauncher } from '@web/test-runner-chrome';
import type { PlaywrightLauncher } from '@web/test-runner-playwright';
import type { ElementHandle as PlaywrightElementHandle } from 'playwright';
import type { ElementHandle as PuppeteerElementHandle } from 'puppeteer';
import type { ChromeLauncher, puppeteerCore } from '@web/test-runner-chrome';
import type { PlaywrightLauncher, playwright } from '@web/test-runner-playwright';

@@ -18,3 +16,3 @@ export type A11ySnapshotPayload = { selector?: string };

const options: {
root?: PlaywrightElementHandle;
root?: playwright.ElementHandle;
} = {};

@@ -35,3 +33,3 @@ if (payload && payload.selector) {

const options: {
root?: PuppeteerElementHandle;
root?: puppeteerCore.ElementHandle;
} = {};

@@ -38,0 +36,0 @@ if (payload && payload.selector) {

import { TestRunnerPlugin } from '@web/test-runner-core';
import type { ChromeLauncher } from '@web/test-runner-chrome';
import type { ChromeLauncher, puppeteerCore } from '@web/test-runner-chrome';
import type { PlaywrightLauncher } from '@web/test-runner-playwright';

@@ -57,3 +57,3 @@

} else if (payload.press) {
await page.keyboard.press(payload.press);
await page.keyboard.press(payload.press as puppeteerCore.KeyInput);
return true;

@@ -60,0 +60,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc