()
| 66 | |
| 67 | // when user ends interaction with 'done', execute these audits |
| 68 | function logAudits() { |
| 69 | var funcArray = [ |
| 70 | loadTime, |
| 71 | componentRerenders |
| 72 | ]; |
| 73 | |
| 74 | // run functions in funcArray, with printLine prior to each |
| 75 | funcArray.forEach((eventsMethod) => { |
| 76 | printLine(); |
| 77 | eventsMethod(data); |
| 78 | }); |
| 79 | } |
| 80 | |
| 81 | // styling for different console logs |
| 82 | function printLine(type, string) { |
nothing calls this directly
no test coverage detected