Skip to content

Commit

Permalink
fix: unit test for props
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiksta committed Nov 6, 2023
1 parent bc264ac commit 6238acb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/cypress/component/props.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { attempt, mount } from "../support/helpers";
class DumbComponent extends Component {

props = {
required: rx.prop<string>({ reflect: true }),
withDefault: rx.prop({ reflect: true, defaultValue: 'default' }),
optional: rx.prop<string>({ reflect: true, optional: true }),
required: rx.prop<string>({ reflect: true, converter: String }),
withDefault: rx.prop({ reflect: true, defaultValue: 'default', converter: String }),
optional: rx.prop<string>({ reflect: true, optional: true, converter: String }),
};

render() {
Expand Down

0 comments on commit 6238acb

Please sign in to comment.