(cond, msg)
| 14 | |
| 15 | const read = (rel) => fs.readFileSync(path.join(dist, rel), "utf8"); |
| 16 | const assert = (cond, msg) => { |
| 17 | if (!cond) failures.push(msg); |
| 18 | }; |
| 19 | |
| 20 | assert( |
| 21 | !/^\s*@layer/.test(read("components/index.css")), |
no test coverage detected