Fix tests for new-guest-access
This time the test wasn't being flaky, but it does inspect a lot of the internal of RoomView, which has had some modifications recently. I've updated the test to reflect this and it passes locally. Also, fix a bug in HomePage with an undeclared "error" which should be "err". Let's see what Travis thinks of this!
This commit is contained in:
parent
0919b7ce3a
commit
feaff9d99d
3 changed files with 24 additions and 25 deletions
|
@ -62,7 +62,7 @@ module.exports = React.createClass({
|
|||
{ method: "GET", url: src },
|
||||
(err, response, body) => {
|
||||
if (err || response.status < 200 || response.status >= 300) {
|
||||
console.log(error);
|
||||
console.log(err);
|
||||
this.setState({ page: "Couldn't load home page" });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue