Skip to content

Commit d4a23a8

Browse files
committed
refactor(browser): use better status on test completion
1 parent 36a6fc5 commit d4a23a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/BrowserTests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ export default class BrowserTests extends Component {
1515

1616
browserTest('yahoo')
1717
.then(res => {
18-
this.setState({ ...res, status: 'done' })
18+
this.setState({ ...res, status: 'passed' })
1919
})
2020
.catch(err => {
21-
this.setState({ ...err, status: 'done' })
21+
this.setState({ ...err, status: 'failed' })
2222
})
2323
}
2424

0 commit comments

Comments
 (0)