Commit d7aef53
committed
fix(bridge): fix TypeScript errors in tests and command handler
- Add qs() helper for type-safe element queries in happy-dom tests
- Make comms-url handler async to match registerCommand signature
- Downgrade require-await to warning (async-without-await is required
by some pi API signatures)
- Add test/helpers.ts to ESLint test file overrides
- Guard indexed access with assert.ok before property access1 parent a44a52a commit d7aef53
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments