* chore: renderer test coverage * fix: lint * chore: api tests * chore: tests for app reducer and StartGradeButton * chore: lint * fix: update reducer tests * chore: more test coverage * chore: test coverage * chore: update test for merge conflicts
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`ConfirmModal snapshot: closed 1`] = `
|
|
<AlertModal
|
|
className="confirm-modal"
|
|
footerNode={
|
|
<ActionRow>
|
|
<Button
|
|
onClick={[MockFunction this.props.onCancel]}
|
|
variant="tertiary"
|
|
>
|
|
test-cancel-text
|
|
</Button>
|
|
<Button
|
|
onClick={[MockFunction this.props.onConfirm]}
|
|
variant="primary"
|
|
>
|
|
test-confirm-text
|
|
</Button>
|
|
</ActionRow>
|
|
}
|
|
isOpen={false}
|
|
onClose={[MockFunction hooks.nullMethod]}
|
|
title="test-title"
|
|
>
|
|
<p>
|
|
test-content
|
|
</p>
|
|
</AlertModal>
|
|
`;
|
|
|
|
exports[`ConfirmModal snapshot: open 1`] = `
|
|
<AlertModal
|
|
className="confirm-modal"
|
|
footerNode={
|
|
<ActionRow>
|
|
<Button
|
|
onClick={[MockFunction this.props.onCancel]}
|
|
variant="tertiary"
|
|
>
|
|
test-cancel-text
|
|
</Button>
|
|
<Button
|
|
onClick={[MockFunction this.props.onConfirm]}
|
|
variant="primary"
|
|
>
|
|
test-confirm-text
|
|
</Button>
|
|
</ActionRow>
|
|
}
|
|
isOpen={true}
|
|
onClose={[MockFunction hooks.nullMethod]}
|
|
title="test-title"
|
|
>
|
|
<p>
|
|
test-content
|
|
</p>
|
|
</AlertModal>
|
|
`;
|