v1
5/9/2022 by konsalexee -00
Setup HTML - click to add setup HTML
Setup JS - click to add setup JavaScript
delete caserun single casemove downdrag and drop case


ready



const isToday = (someDate) => {
  const today = new Date()
  return someDate.getDate() == today.getDate() &&
    someDate.getMonth() == today.getMonth() &&
    someDate.getFullYear() == today.getFullYear()
}


Array.from({length: 10000}).forEach(i=>{
	const randomDate = new Date(+(new Date()) - Math.floor(Math.random()*10000000000))
	isToday(randomDate)
})
delete caserun single casemove updrag and drop case


ready



const isToday = (someDate) => {
  return new Date().toDateString() == someDate.toDateString()
}

Array.from({length: 10000}).forEach(i=>{
	const randomDate = new Date(+(new Date()) - Math.floor(Math.random()*10000000000))
	isToday(randomDate)
})
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN