setupTests.js 574 Bytes
Newer Older
Yoon, Daeki's avatar
Yoon, Daeki committed
1
2
3
4
5
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom/extend-expect';
baesangjune's avatar
baesangjune committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19

<Segment color='blue'>
    <Form>
        <Form.Field>
            정답
        </Form.Field>
        {this.rateScore.map(rate=>(
            <Form.Field>
                <Radio value={rate} checked={} onCange={}/>
                {this.renderStar(rate)}
            </Form.Field>
        ))}
    </Form>
</Segment>