Skip to content

Commit 45af4f8

Browse files
author
Cloud Xiao
committed
clear workspace
1 parent 0a48e84 commit 45af4f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/issues/IssueList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const IssueList = ({ issues, onCloseClick }) => (
2828
<td>
2929
{issue.labels.map(label => (
3030
<>
31-
<span class="badge badge-primary">{label.name}</span>
31+
<span className="badge badge-primary">{label.name}</span>
3232
<span> </span>
3333
</>
3434
))}

src/components/issues/issueList.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function renderIssueList(args) {
2020
}
2121

2222
test("lists all issues", () => {
23-
const { getAllByText } = renderIssueList({
24-
issues: issues
23+
const { getAllByText, debug } = renderIssueList({
24+
issues
2525
});
26-
26+
debug();
2727
expect(getAllByText(/close/i)).toHaveLength(issues.length);
2828
// just like a manual tester, we'll instruct our test to wait for the alert
2929
// to show up before continuing with our assertions.

0 commit comments

Comments
 (0)