Spread operator in TypeScript is not properly type checked.
Reasoning – https://stackoverflow.com/a/53405628/1860213
Spread operator in TypeScript is not properly type checked.
Reasoning – https://stackoverflow.com/a/53405628/1860213
| const fs = require('fs'); | |
| const path = require('path'); | |
| function isCamelCase(str) { | |
| return /^[a-z][a-zA-Z0-9]*$/.test(str); | |
| } | |
| function findCamelCaseFilesRecursively(folderPath) { | |
| fs.readdir(folderPath, (err, files) => { | |
| if (err) { |
| Screenshot is not cut off if <body/> in cypress/support/component-index.html has first child like | |
| ``` | |
| <div style="position: absolute; top: 0; bottom: 0; width: 100%; background-color: #FFF; z-index: -1000;"></div> | |
| ``` |
| export NODE_OPTIONS=--max-old-space-size=4096 |