37 lines
782 B
Plaintext
37 lines
782 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`CourseCard Actions component does not render secondary button if null is returned for secondary props 1`] = `
|
|
<ActionRow
|
|
data-test-id="CourseCardActions"
|
|
>
|
|
<Button
|
|
cardId="test-course-number"
|
|
prop1="primary-prop1"
|
|
prop2="primary-prop2"
|
|
>
|
|
primary-children
|
|
</Button>
|
|
</ActionRow>
|
|
`;
|
|
|
|
exports[`CourseCard Actions component loads primary and secondary button props from hook 1`] = `
|
|
<ActionRow
|
|
data-test-id="CourseCardActions"
|
|
>
|
|
<Button
|
|
cardId="test-course-number"
|
|
prop1="primary-prop1"
|
|
prop2="primary-prop2"
|
|
>
|
|
primary-children
|
|
</Button>
|
|
<Button
|
|
cardId="test-course-number"
|
|
prop1="primary-prop1"
|
|
prop2="primary-prop2"
|
|
>
|
|
primary-children
|
|
</Button>
|
|
</ActionRow>
|
|
`;
|