how can test this function with jest?

前端 未结 0 873
南方客
南方客 2021-02-02 05:48

I have a function that checks if there is a given cookie in the array

import Cookies from \'js-cookie\'

const isNumberCookies = (numbers) => {
  if (!Array.is         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题