I have an array:
Const domesticAnimals = ['Chicken','lama','Donkey']
Const wildAnimals =['lama','lion','elephant']
How do I test If any wildAnimals is listed in domesticAnimals array?
I have tried
test('test If any wild animal is in the domestic animal list', async() =>{
expect(domesticAnimals ).toContain('lama')
}) //works perfectly
test('test If any wild animal is in the domestic animal list', async() =>{
expect(domesticAnimals ).toContain(wildAnimals) // does not work
})