breaking changes from expect upgrade
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
This commit is contained in:
parent
22167f8538
commit
c3185a4cdb
6 changed files with 42 additions and 42 deletions
|
@ -54,7 +54,7 @@ describe('DecryptionFailureTracker', function() {
|
||||||
// Immediately track the newest failures
|
// Immediately track the newest failures
|
||||||
tracker.trackFailures();
|
tracker.trackFailures();
|
||||||
|
|
||||||
expect(count).toNotBe(0, 'should track a failure for an event that failed decryption');
|
expect(count).not.toBe(0, 'should track a failure for an event that failed decryption');
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
|
@ -185,21 +185,21 @@ describe('GroupView', function() {
|
||||||
const avatar = ReactTestUtils.findRenderedComponentWithType(root, sdk.getComponent('avatars.GroupAvatar'));
|
const avatar = ReactTestUtils.findRenderedComponentWithType(root, sdk.getComponent('avatars.GroupAvatar'));
|
||||||
const img = ReactTestUtils.findRenderedDOMComponentWithTag(avatar, 'img');
|
const img = ReactTestUtils.findRenderedDOMComponentWithTag(avatar, 'img');
|
||||||
const avatarImgElement = ReactDOM.findDOMNode(img);
|
const avatarImgElement = ReactDOM.findDOMNode(img);
|
||||||
expect(avatarImgElement).toExist();
|
expect(avatarImgElement).toBeTruthy();
|
||||||
expect(avatarImgElement.src).toInclude(
|
expect(avatarImgElement.src).toContain(
|
||||||
'https://my.home.server/_matrix/media/v1/thumbnail/' +
|
'https://my.home.server/_matrix/media/v1/thumbnail/' +
|
||||||
'someavatarurl?width=48&height=48&method=crop',
|
'someavatarurl?width=48&height=48&method=crop',
|
||||||
);
|
);
|
||||||
|
|
||||||
const name = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_name');
|
const name = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_name');
|
||||||
const nameElement = ReactDOM.findDOMNode(name);
|
const nameElement = ReactDOM.findDOMNode(name);
|
||||||
expect(nameElement).toExist();
|
expect(nameElement).toBeTruthy();
|
||||||
expect(nameElement.innerText).toInclude('The name of a community');
|
expect(nameElement.innerText).toContain('The name of a community');
|
||||||
expect(nameElement.innerText).toInclude(groupId);
|
expect(nameElement.innerText).toContain(groupId);
|
||||||
|
|
||||||
const shortDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_shortDesc');
|
const shortDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_shortDesc');
|
||||||
const shortDescElement = ReactDOM.findDOMNode(shortDesc);
|
const shortDescElement = ReactDOM.findDOMNode(shortDesc);
|
||||||
expect(shortDescElement).toExist();
|
expect(shortDescElement).toBeTruthy();
|
||||||
expect(shortDescElement.innerText).toBe('This is a community');
|
expect(shortDescElement.innerText).toBe('This is a community');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ describe('GroupView', function() {
|
||||||
|
|
||||||
const longDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc');
|
const longDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc');
|
||||||
const longDescElement = ReactDOM.findDOMNode(longDesc);
|
const longDescElement = ReactDOM.findDOMNode(longDesc);
|
||||||
expect(longDescElement).toExist();
|
expect(longDescElement).toBeTruthy();
|
||||||
expect(longDescElement.innerText).toBe('This is a LONG description.');
|
expect(longDescElement.innerText).toBe('This is a LONG description.');
|
||||||
expect(longDescElement.innerHTML).toBe('<div dir="auto">This is a <b>LONG</b> description.</div>');
|
expect(longDescElement.innerHTML).toBe('<div dir="auto">This is a <b>LONG</b> description.</div>');
|
||||||
});
|
});
|
||||||
|
@ -239,7 +239,7 @@ describe('GroupView', function() {
|
||||||
const placeholder = ReactTestUtils
|
const placeholder = ReactTestUtils
|
||||||
.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc_placeholder');
|
.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc_placeholder');
|
||||||
const placeholderElement = ReactDOM.findDOMNode(placeholder);
|
const placeholderElement = ReactDOM.findDOMNode(placeholder);
|
||||||
expect(placeholderElement).toExist();
|
expect(placeholderElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
httpBackend
|
httpBackend
|
||||||
|
@ -258,15 +258,15 @@ describe('GroupView', function() {
|
||||||
const prom = waitForUpdate(groupView, 4).then(() => {
|
const prom = waitForUpdate(groupView, 4).then(() => {
|
||||||
const longDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc');
|
const longDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc');
|
||||||
const longDescElement = ReactDOM.findDOMNode(longDesc);
|
const longDescElement = ReactDOM.findDOMNode(longDesc);
|
||||||
expect(longDescElement).toExist();
|
expect(longDescElement).toBeTruthy();
|
||||||
|
|
||||||
expect(longDescElement.innerHTML).toInclude('<h1>This is a more complicated group page</h1>');
|
expect(longDescElement.innerHTML).toContain('<h1>This is a more complicated group page</h1>');
|
||||||
expect(longDescElement.innerHTML).toInclude('<p>With paragraphs</p>');
|
expect(longDescElement.innerHTML).toContain('<p>With paragraphs</p>');
|
||||||
expect(longDescElement.innerHTML).toInclude('<ul>');
|
expect(longDescElement.innerHTML).toContain('<ul>');
|
||||||
expect(longDescElement.innerHTML).toInclude('<li>And lists!</li>');
|
expect(longDescElement.innerHTML).toContain('<li>And lists!</li>');
|
||||||
|
|
||||||
const imgSrc = "https://my.home.server/_matrix/media/v1/thumbnail/someimageurl?width=800&height=600";
|
const imgSrc = "https://my.home.server/_matrix/media/v1/thumbnail/someimageurl?width=800&height=600";
|
||||||
expect(longDescElement.innerHTML).toInclude('<img src="' + imgSrc + '">');
|
expect(longDescElement.innerHTML).toContain('<img src="' + imgSrc + '">');
|
||||||
});
|
});
|
||||||
|
|
||||||
httpBackend
|
httpBackend
|
||||||
|
@ -285,11 +285,11 @@ describe('GroupView', function() {
|
||||||
const prom = waitForUpdate(groupView, 4).then(() => {
|
const prom = waitForUpdate(groupView, 4).then(() => {
|
||||||
const longDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc');
|
const longDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_groupDesc');
|
||||||
const longDescElement = ReactDOM.findDOMNode(longDesc);
|
const longDescElement = ReactDOM.findDOMNode(longDesc);
|
||||||
expect(longDescElement).toExist();
|
expect(longDescElement).toBeTruthy();
|
||||||
|
|
||||||
// If this fails, the URL could be in an img `src`, which is what we care about but
|
// If this fails, the URL could be in an img `src`, which is what we care about but
|
||||||
// there's no harm in keeping this simple and checking the entire HTML string.
|
// there's no harm in keeping this simple and checking the entire HTML string.
|
||||||
expect(longDescElement.innerHTML).toExclude('evilimageurl');
|
expect(longDescElement.innerHTML).not.toContain('evilimageurl');
|
||||||
});
|
});
|
||||||
|
|
||||||
httpBackend
|
httpBackend
|
||||||
|
@ -308,7 +308,7 @@ describe('GroupView', function() {
|
||||||
const prom = waitForUpdate(groupView, 4).then(() => {
|
const prom = waitForUpdate(groupView, 4).then(() => {
|
||||||
const roomDetailList = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_RoomDetailList');
|
const roomDetailList = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_RoomDetailList');
|
||||||
const roomDetailListElement = ReactDOM.findDOMNode(roomDetailList);
|
const roomDetailListElement = ReactDOM.findDOMNode(roomDetailList);
|
||||||
expect(roomDetailListElement).toExist();
|
expect(roomDetailListElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
httpBackend.when('GET', '/groups/' + groupIdEncoded + '/summary').respond(200, summaryResponse);
|
httpBackend.when('GET', '/groups/' + groupIdEncoded + '/summary').respond(200, summaryResponse);
|
||||||
|
@ -325,7 +325,7 @@ describe('GroupView', function() {
|
||||||
const prom = waitForUpdate(groupView, 4).then(() => {
|
const prom = waitForUpdate(groupView, 4).then(() => {
|
||||||
const roomDetailList = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_RoomDetailList');
|
const roomDetailList = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_RoomDetailList');
|
||||||
const roomDetailListElement = ReactDOM.findDOMNode(roomDetailList);
|
const roomDetailListElement = ReactDOM.findDOMNode(roomDetailList);
|
||||||
expect(roomDetailListElement).toExist();
|
expect(roomDetailListElement).toBeTruthy();
|
||||||
|
|
||||||
const roomDetailListRoomName = ReactTestUtils.findRenderedDOMComponentWithClass(
|
const roomDetailListRoomName = ReactTestUtils.findRenderedDOMComponentWithClass(
|
||||||
root,
|
root,
|
||||||
|
@ -333,7 +333,7 @@ describe('GroupView', function() {
|
||||||
);
|
);
|
||||||
const roomDetailListRoomNameElement = ReactDOM.findDOMNode(roomDetailListRoomName);
|
const roomDetailListRoomNameElement = ReactDOM.findDOMNode(roomDetailListRoomName);
|
||||||
|
|
||||||
expect(roomDetailListRoomNameElement).toExist();
|
expect(roomDetailListRoomNameElement).toBeTruthy();
|
||||||
expect(roomDetailListRoomNameElement.innerText).toEqual('Some room name');
|
expect(roomDetailListRoomNameElement.innerText).toEqual('Some room name');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -364,7 +364,7 @@ describe('GroupView', function() {
|
||||||
const prom = waitForUpdate(groupView, 3).then(() => {
|
const prom = waitForUpdate(groupView, 3).then(() => {
|
||||||
const shortDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_shortDesc');
|
const shortDesc = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_shortDesc');
|
||||||
const shortDescElement = ReactDOM.findDOMNode(shortDesc);
|
const shortDescElement = ReactDOM.findDOMNode(shortDesc);
|
||||||
expect(shortDescElement).toExist();
|
expect(shortDescElement).toBeTruthy();
|
||||||
expect(shortDescElement.innerText).toBe('This is a community');
|
expect(shortDescElement.innerText).toBe('This is a community');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -83,8 +83,8 @@ describe('InteractiveAuthDialog', function() {
|
||||||
submitNode = node;
|
submitNode = node;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
expect(passwordNode).toExist();
|
expect(passwordNode).toBeTruthy();
|
||||||
expect(submitNode).toExist();
|
expect(submitNode).toBeTruthy();
|
||||||
|
|
||||||
// submit should be disabled
|
// submit should be disabled
|
||||||
expect(submitNode.disabled).toBe(true);
|
expect(submitNode.disabled).toBe(true);
|
||||||
|
|
|
@ -114,7 +114,7 @@ describe("GroupMemberList", function() {
|
||||||
|
|
||||||
const memberList = ReactTestUtils.findRenderedDOMComponentWithClass(root, "mx_MemberList_joined");
|
const memberList = ReactTestUtils.findRenderedDOMComponentWithClass(root, "mx_MemberList_joined");
|
||||||
const memberListElement = ReactDOM.findDOMNode(memberList);
|
const memberListElement = ReactDOM.findDOMNode(memberList);
|
||||||
expect(memberListElement).toExist();
|
expect(memberListElement).toBeTruthy();
|
||||||
expect(memberListElement.innerText).toBe("Test");
|
expect(memberListElement.innerText).toBe("Test");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ describe("GroupMemberList", function() {
|
||||||
|
|
||||||
const memberList = ReactTestUtils.findRenderedDOMComponentWithClass(root, "mx_MemberList_joined");
|
const memberList = ReactTestUtils.findRenderedDOMComponentWithClass(root, "mx_MemberList_joined");
|
||||||
const memberListElement = ReactDOM.findDOMNode(memberList);
|
const memberListElement = ReactDOM.findDOMNode(memberList);
|
||||||
expect(memberListElement).toExist();
|
expect(memberListElement).toBeTruthy();
|
||||||
expect(memberListElement.innerText).toBe("Failed to load group members");
|
expect(memberListElement.innerText).toBe("Failed to load group members");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ describe('RoomList', () => {
|
||||||
ReactTestUtils.findRenderedComponentWithType(root, RoomList);
|
ReactTestUtils.findRenderedComponentWithType(root, RoomList);
|
||||||
|
|
||||||
movingRoom = createRoom({name: 'Moving room'});
|
movingRoom = createRoom({name: 'Moving room'});
|
||||||
expect(movingRoom.roomId).toNotBe(null);
|
expect(movingRoom.roomId).not.toBe(null);
|
||||||
|
|
||||||
// Mock joined member
|
// Mock joined member
|
||||||
myMember = new RoomMember(movingRoomId, myUserId);
|
myMember = new RoomMember(movingRoomId, myUserId);
|
||||||
|
@ -139,7 +139,7 @@ describe('RoomList', () => {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(expectedRoomTile).toExist();
|
expect(expectedRoomTile).toBeTruthy();
|
||||||
expect(expectedRoomTile.props.room).toBe(room);
|
expect(expectedRoomTile.props.room).toBe(room);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ describe('matrix-to', function() {
|
||||||
it('should pick no candidate servers when the room is not found', function() {
|
it('should pick no candidate servers when the room is not found', function() {
|
||||||
peg.get().getRoom = () => null;
|
peg.get().getRoom = () => null;
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(3);
|
expect(pickedServers.length).toBe(3);
|
||||||
expect(pickedServers[0]).toBe("pl_95");
|
expect(pickedServers[0]).toBe("pl_95");
|
||||||
// we don't check the 2nd and 3rd servers because that is done by the next test
|
// we don't check the 2nd and 3rd servers because that is done by the next test
|
||||||
|
@ -112,7 +112,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(3);
|
expect(pickedServers.length).toBe(3);
|
||||||
expect(pickedServers[0]).toBe("first");
|
expect(pickedServers[0]).toBe("first");
|
||||||
expect(pickedServers[1]).toBe("second");
|
expect(pickedServers[1]).toBe("second");
|
||||||
|
@ -143,7 +143,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(3);
|
expect(pickedServers.length).toBe(3);
|
||||||
expect(pickedServers[0]).toBe("first");
|
expect(pickedServers[0]).toBe("first");
|
||||||
expect(pickedServers[1]).toBe("second");
|
expect(pickedServers[1]).toBe("second");
|
||||||
|
@ -178,7 +178,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(3);
|
expect(pickedServers.length).toBe(3);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -242,7 +242,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -258,7 +258,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(1);
|
expect(pickedServers.length).toBe(1);
|
||||||
expect(pickedServers[0]).toBe("example.org:8448");
|
expect(pickedServers[0]).toBe("example.org:8448");
|
||||||
});
|
});
|
||||||
|
@ -292,7 +292,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -325,7 +325,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(0);
|
expect(pickedServers.length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(1);
|
expect(pickedServers.length).toBe(1);
|
||||||
expect(pickedServers[0]).toEqual("evilcorp.com");
|
expect(pickedServers[0]).toEqual("evilcorp.com");
|
||||||
});
|
});
|
||||||
|
@ -392,7 +392,7 @@ describe('matrix-to', function() {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
const pickedServers = pickServerCandidates("!somewhere:example.org");
|
||||||
expect(pickedServers).toExist();
|
expect(pickedServers).toBeTruthy();
|
||||||
expect(pickedServers.length).toBe(1);
|
expect(pickedServers.length).toBe(1);
|
||||||
expect(pickedServers[0]).toEqual("evilcorp.com");
|
expect(pickedServers[0]).toEqual("evilcorp.com");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue