Serializa a la misma cadena

// Replace this
expect(function(array1)).toBe('one result')

// With this
expect(function(array2)).toEqual(['more than one', 'more than one']);
Jumping Boy