dimanche 4 octobre 2020

writing test that check if the code does not use eval function

I need to write a test that check if the code does not contain eval functain. How can i do that? I am writing in react and jest. I have this template:

it(`no eval`, async () => {
 
  
  expect().toBe();
});

Aucun commentaire:

Enregistrer un commentaire