Skip to content

Commit f5a5c19

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 63169e6 commit f5a5c19

2 files changed

Lines changed: 21 additions & 14 deletions

File tree

contentcuration/contentcuration/frontend/channelEdit/components/HintsEditor/HintsEditor.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ describe('HintsEditor', () => {
5757
it('smoke test', () => {
5858
renderComponent();
5959

60-
expect(screen.getByRole('button', { name: HintsEditor.$trs.newHintBtnLabel })).toBeInTheDocument();
60+
expect(
61+
screen.getByRole('button', { name: HintsEditor.$trs.newHintBtnLabel }),
62+
).toBeInTheDocument();
6163
});
6264

6365
it('shows an empty-state message when a question has no hints', () => {
Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<template>
2+
23
<div>
34
<p v-if="value">{{ value }}</p>
45
<button
@@ -10,20 +11,24 @@
1011
Update hint text
1112
</button>
1213
</div>
14+
1315
</template>
1416

17+
1518
<script>
16-
export default {
17-
name: 'TipTapEditor',
18-
props: {
19-
value: {
20-
type: String,
21-
default: '',
22-
},
23-
mode: {
24-
type: String,
25-
default: 'view',
19+
20+
export default {
21+
name: 'TipTapEditor',
22+
props: {
23+
value: {
24+
type: String,
25+
default: '',
26+
},
27+
mode: {
28+
type: String,
29+
default: 'view',
30+
},
2631
},
27-
},
28-
};
29-
</script>
32+
};
33+
34+
</script>

0 commit comments

Comments
 (0)