Skip to content

Commit

Permalink
fix test and publish new docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Nelson committed Aug 14, 2024
1 parent 0b576cb commit acec8d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/LiveState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export type LiveStatePatch = {
* Events which begin with `livestate-` are assumed to be livestate internal events.
* The following CustomEvents are supported:
*
* | Error | Detail type | Description |
* | Event | Detail type | Description |
* | ----------------- | ----------------------- | ------------------------------------ |
* | livestate-error | {@link LiveStateError} | Occurs on channel or socket errors |
* | livestate-change | {@link LiveStateChange} | on `state:change` from channel |
Expand All @@ -70,7 +70,7 @@ export type LiveStatePatch = {
*
* Will occur on channel or socket errors. The `detail` will consist of
*
* And other event name not prefixed with `livestate-` will be assumed to be a channel
* Any other event name not prefixed with `livestate-` will be assumed to be a channel
* event and will result in a event being listened to on the channel, which when
* received, will be dispatched as a CustomEvent of the same name with the payload
* from the channel event becoming the `detail` property.
Expand Down
2 changes: 1 addition & 1 deletion test/connect-element-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('connectElement', () => {
await el.updateComplete;
expect(el.bar).to.equal('wizzle');
expect(el.shadowRoot.innerHTML).to.contain('wizzle');
expect(el.getAttribute('foo')).to.equal('wozle');
expect(el.getAttribute('foo')).to.equal('wuzzle');
expect(el.shadowRoot.innerHTML).to.contain('wuzzle');
});

Expand Down

0 comments on commit acec8d2

Please sign in to comment.