New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

test-drive

Package Overview
Dependencies
Maintainers
2
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-drive - npm Package Compare versions

Comparing version 0.0.146 to 0.0.147

dist/dist/src/trigger.d.ts

1

dist/dist/src/index.d.ts

@@ -10,1 +10,2 @@ /// <reference path="../../matchers.d.ts" />

export { chai, sinon, expect, layout };
export * from './trigger';

@@ -10,1 +10,2 @@ /// <reference path="../../matchers.d.ts" />

export { chai, sinon, expect, layout };
export * from './trigger';

@@ -28,2 +28,3 @@ "use strict";

__export(require("./wait-for"));
__export(require("./trigger"));
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "test-drive",
"version": "0.0.146",
"version": "0.0.147",
"description": "Opinionated library for writing web component tests",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

@@ -93,2 +93,14 @@ # Test Drive

### Event Triggering
The `trigger.*` module lets you trigger native DOM events, enabling emulation
of user interactions in interface tests.
```javascript
trigger.change(target, "newValue")
```
will set `"newValue"` as a new `.value` of an input element (`input`, `select` and `textarea`
elements are supported), and trigger `focus`, `input` and `change` events.
### Layout Matchers

@@ -95,0 +107,0 @@

@@ -23,1 +23,2 @@ /// <reference path="../matchers.d.ts" />

export { chai, sinon, expect, layout };
export * from './trigger';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc