react-tracking icon indicating copy to clipboard operation
react-tracking copied to clipboard

add testing instructions

Open saidkholov opened this issue 6 years ago • 2 comments

saidkholov avatar Feb 25 '19 22:02 saidkholov

This doesn't work for me, I have a component set up like this:

@track((props) => ({
  some_prop: props.something ? 'value-1' : 'value-2',
}))
export class MyComponent extends Component {
  ...
})

dutzi avatar Mar 04 '19 11:03 dutzi

The instructions are to test methods within a class. You might want to mock the library to successfully test in your case

saidkholov avatar Mar 04 '19 20:03 saidkholov