const fruits = ['apple', 'cat']; test('should have array of string', () => { expect(fruits).toEqual( expect.arrayContaining([expect.any(String)]) ); });