|
|
@ -22,7 +22,6 @@ describe("guarded arrays", () => {
|
|
|
|
expect(joe.messages[1]).to.equal("Hello world!");
|
|
|
|
expect(joe.messages[1]).to.equal("Hello world!");
|
|
|
|
|
|
|
|
|
|
|
|
joe.messages[0] = "Hello moon!";
|
|
|
|
joe.messages[0] = "Hello moon!";
|
|
|
|
console.log(joe.messages);
|
|
|
|
|
|
|
|
expect(joe.messages[0]).to.equal("Hello moon!");
|
|
|
|
expect(joe.messages[0]).to.equal("Hello moon!");
|
|
|
|
expect(joe.messages[1]).to.equal("Hello world!");
|
|
|
|
expect(joe.messages[1]).to.equal("Hello world!");
|
|
|
|
});
|
|
|
|
});
|
|
|
|