(label, condition)
| 17 | ); |
| 18 | |
| 19 | function check(label, condition) { |
| 20 | if (!condition) { |
| 21 | console.error(`✘ ${label}`); |
| 22 | process.exit(1); |
| 23 | } |
| 24 | console.log(`✔ ${label}`); |
| 25 | } |
| 26 | |
| 27 | check('identities bundle exports loadIdentities', typeof loadIdentities === 'function'); |
| 28 | check('identities bundle exports FUNGRIM_CORE', Array.isArray(FUNGRIM_CORE?.rules)); |
no test coverage detected