(file)
| 197 | |
| 198 | const allowedGlobalObjects = new Set(["prettier", "prettierPlugins"]); |
| 199 | const getGlobalObjects = (file) => { |
| 200 | const sandbox = createSandBox({ files: [file] }); |
| 201 | return Object.fromEntries( |
| 202 | Object.entries(sandbox).filter( |
| 203 | ([property]) => !allowedGlobalObjects.has(property), |
| 204 | ), |
| 205 | ); |
| 206 | }; |
| 207 | |
| 208 | for (const file of files) { |
| 209 | const globalObjects = getGlobalObjects(file); |
no test coverage detected
searching dependent graphs…