bore
bore copied to clipboard
An Enzyme-like testing utility built for the DOM and Web Components.
We have encounter case where we need to test multiple elements in single test as you can see here https://github.com/wc-catalogue/blaze-elements/blob/master/packages/collapsible/Collapsible.test.tsx#L53 So I have got idea that we can enhance waitFor...
This should trigger an event in the same manner [skate does](https://github.com/skatejs/skatejs/blob/master/src/api/emit.js#L14). This should probably be called something like `emit()`, `trigger()` or `dispatch()` instead of `simulate()`, because it's not really "simulating"...
```js wrapper.wait(condition, { timeout: 2000 }); ```
Currently we support HTML in `mount()` but it'd be nice if this was also supported in `all()` et al to match that. For example: ```js mount('').one(''); ``` If we do...