エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Jestの比較メソッドについて - Qiita
assert.deepStrictEqual(received, expected) Expected value to deeply and strictly equal to: [{"id"... assert.deepStrictEqual(received, expected) Expected value to deeply and strictly equal to: [{"id": 1, "name": "aaaaa"}] Received: [{"id": 1, "name": "aaaaa"}] Difference: Compared values have no visual difference. class LaCroix { public flavor: any; constructor(flavor: any) { this.flavor = flavor; } } it("同一の確認", () => { // "レモン" === "レモン" -> 成功 expect("レモン").toBe("レモン"); // true === 1 -> 失敗 expec