test-drive
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,4 +11,3 @@ /// <reference path="../matchers.d.ts" /> | ||
export * from './wait-for'; | ||
export * from './trigger'; | ||
export { chai, sinon, expect, layout }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -36,3 +36,2 @@ "use strict"; | ||
__export(require("./wait-for")); | ||
__export(require("./trigger")); | ||
//# sourceMappingURL=index.js.map |
@@ -11,4 +11,3 @@ /// <reference path="../matchers.d.ts" /> | ||
export * from './wait-for'; | ||
export * from './trigger'; | ||
export { chai, sinon, expect, layout }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -24,4 +24,3 @@ /// <reference path="../matchers.d.ts" /> | ||
export * from './wait-for'; | ||
export * from './trigger'; | ||
export { chai, sinon, expect, layout }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "test-drive", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Opinionated library for writing web component tests", | ||
@@ -54,3 +54,3 @@ "main": "./cjs/index.js", | ||
"type": "git", | ||
"url": "git@github.com:wix/test-drive.git" | ||
"url": "git@github.com:wixplosives/test-drive.git" | ||
}, | ||
@@ -65,7 +65,7 @@ "author": "Jiri Tobisek <jiri@wix.com>", | ||
"bugs": { | ||
"url": "https://github.com/wix/test-drive/issues" | ||
"url": "https://github.com/wixplosives/test-drive/issues" | ||
}, | ||
"homepage": "https://github.com/wix/test-drive#readme", | ||
"homepage": "https://github.com/wixplosives/test-drive#readme", | ||
"license": "MIT", | ||
"sideEffects": false | ||
} |
# Test Drive | ||
[![npm version](https://badge.fury.io/js/test-drive.svg)](https://www.npmjs.com/package/test-drive) | ||
[![Build Status](https://travis-ci.org/wix/test-drive.svg?branch=master)](https://travis-ci.org/wix/test-drive) | ||
[![Build Status](https://travis-ci.com/wixplosives/test-drive.svg?branch=master)](https://travis-ci.com/wixplosives/test-drive) | ||
@@ -108,14 +108,2 @@ **Test Drive** is an opinionated, yet framework-agnostic collection of tools, matchers and helpers for efficient Test Driven Development of web applications, GUIs and client-side components. Based on existing Open Source projects, as well as original contributions and ideas, it provides not only practical and efficient solutions for writing reliable tests, but also methodological guidelines based on long-term experimentation and hard-won lessons. | ||
### 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 | ||
@@ -122,0 +110,0 @@ |
@@ -28,4 +28,3 @@ /// <reference path="../matchers.d.ts" /> | ||
export * from './wait-for'; | ||
export * from './trigger'; | ||
export { chai, sinon, expect, layout }; |
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
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
109275
67
1443
200