* Returns a human readable date so each benchmark has an associated date. * Gets date in ISO format so that it is compatible with internal visualisation * tool.
()
| 141 | * tool. |
| 142 | */ |
| 143 | function getReadableDate() { |
| 144 | const fullISODateString = new Date().toISOString(); |
| 145 | const dateOnly = fullISODateString.split('T')[0]; |
| 146 | return dateOnly; |
| 147 | } |
| 148 | |
| 149 | exports.addResultToFirestore = addResultToFirestore; |
| 150 | exports.makeCompatableWithFirestore = makeCompatableWithFirestore; |
nothing calls this directly
no test coverage detected
searching dependent graphs…