When you want to test the subset of an object, or a specific key/value pair, you can use the objectContaining matcher. test('should contain ...
確定! 回上一頁