Details
Details
- Reviewers
kamil - Commits
- rCOMMb694f848dd5f: [lib] Add function to verify device lists
Added unit tests in D11930. More detailed plan will be performed when the function is used.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/shared/device-list-utils.js | ||
---|---|---|
10–23 ↗ | (On Diff #39911) | Should we make all of these fields read-only by prefixing them with a +? (eg. { +valid: true }) |
Comment Actions
Instead of calling JSON.parse to get RawDeviceList I would extract code parsing code with asserting from here to a separate function and use it here in all call sites.