Move admin to stable and remove chai from deps#5943
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the repo tests and metadata to reflect moving admin to stable while removing chai from dev dependencies.
Changes:
- Replace
chaiassertions with Node’s built-inassertin the test suite. - Bump the stable
adminversion insources-dist-stable.json. - Remove
chaiand bumpaxiosinpackage.json.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| test/testRepo.js | Migrates assertions from chai to Node assert and adjusts admin name exception logic. |
| sources-dist-stable.json | Updates the stable admin adapter version. |
| package.json | Removes chai and updates the axios devDependency version. |
| @@ -1,5 +1,5 @@ | |||
| 'use strict'; | |||
| const expect = require('chai').expect; | |||
| const assert = require('node:assert'); | |||
| assert.equal(id, id.toLowerCase(), `Adapter id ${id} is not lowercase`); | ||
| assert.notEqual(latest[id], undefined, `${id} not in latest but in stable`); |
| try { | ||
| latest = JSON.parse(text); | ||
| } catch (e) { | ||
| expect(e).to.be.null; | ||
| assert.equal(e, null, 'Error parsing sources-dist.json'); | ||
| } | ||
| done(); |
Automated adapter checkerioBroker.adminERRORS:
WARNINGS:
SUGGESTIONS:
Adapter releases: https://www.iobroker.dev/adapter/ioBroker/ioBroker.admin/releases History and usage information for release 7.8.23: 7.8.23 created 27.4.2026 (7 days old) 7.7.22 (stable) created 15.12.2025 (140 days old) Please verify that this PR really tries to update to release 7.8.23! Add comment "RE-CHECK!" to start check anew |
|
Please do not mix adapter versionnupdates and changescto code at iobroker.repositories at ONE Pr. create ONE seperste PR for every Adapter which should be added or whoch version should be bumped at stable. Do not update more than one Adapter within one PR. Code changes need a seperste PR in all cases. |

No description provided.