the test case in this chapter ``` it("Incremented the count", async () => { const tx = await program.methods .increment() .accounts({ counter: counter.publicKey, user: provider.wallet.publicKey }) .rpc() const account = await program.account.counter.fetch(counter.publicKey) expect(account.count.toNumber() === 1) }) ``` the way of using expect will return true all the time, no matter what number is given considering using the following expression ``` expect(account.count.toNumber()).to.equal(1) ```
the test case in this chapter
the way of using expect will return true all the time, no matter what number is given
considering using the following expression