We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a6fc5 commit da06e0bCopy full SHA for da06e0b
app/components/BrowserTests.js
@@ -15,10 +15,10 @@ export default class BrowserTests extends Component {
15
16
browserTest('yahoo')
17
.then(res => {
18
- this.setState({ ...res, status: 'done' })
+ this.setState({ ...res, status: 'passed' })
19
})
20
.catch(err => {
21
- this.setState({ ...err, status: 'done' })
+ this.setState({ ...err, status: 'failed' })
22
23
}
24
app/content/lib/browser/yahoo.js
@@ -1,4 +1,4 @@
1
-const Nightmare = require('nightmare')
+import Nightmare from 'nightmare'
2
const nightmare = Nightmare({ show: true })
3
4
nightmare
0 commit comments