expect(1 + 2).toBe(3);

だったら 1 + 2 が actual で 3 が expected ね

Reply to this note

Please Login to reply.

Discussion

なるほど、expect(ここに実際使ってる関数とかに値をセットして).toBe(こういう値になるはず!の値);

というかんじですかね?

いえす!

ありがとござます!