openvibers/openvibe.codes Commits

Tests follow the v0.28.0 pin

OP OpenVibers committed 23 Sept 2026 · cd402dd8ac · 2 files, +6 −6


Changes

ddiff --git a/test/contracts.test.js b/test/contracts.test.js
iindex a2018bb..79aafcd 100644
---- a/test/contracts.test.js
++++ b/test/contracts.test.js
@@@ -1,6 +1,6 @@
'use strict';
/**
-- * The released contracts (openvibe-contracts tag v0.27.0) describe what the code does: the codes
++ * The released contracts (openvibe-contracts tag v0.28.0) describe what the code does: the codes
* service manifest's events are exactly what the outbox can produce, its capabilities are the ones
* the API guards with requireCapability, and the release API answers with the contracts' problems.
*/
ddiff --git a/test/docs.test.js b/test/docs.test.js
iindex c6f5254..b9fd43e 100644
---- a/test/docs.test.js
++++ b/test/docs.test.js
@@@ -19,11 +19,11 @@ const sdkPkg = require('openvibe-sdk/package.json');
await check('package.json pins the contracts, SDK and shared tags that are installed', async () => {
const tag = (dep) => (pkg.dependencies[dep].match(/refs\/tags\/(v[0-9.]+)$/) || [])[1];
-- assert.strictEqual(tag('openvibe-contracts'), 'v0.27.0');
++ assert.strictEqual(tag('openvibe-contracts'), 'v0.28.0');
assert.strictEqual(tag('openvibe-sdk'), `v${sdkPkg.version}`);
assert.strictEqual(tag('openvibe-shared'), `v${require('openvibe-shared/package.json').version}`);
assert.strictEqual(sdkPkg.version, '0.2.2');
-- // The contracts tag v0.27.0 carries the released codes manifest and codes.app-manifest@1.
++ // The contracts tag v0.28.0 carries the released codes manifest and codes.app-manifest@1.
assert.ok(contracts.services.get('codes') && contracts.services.get('codes').status === 'alpha');
assert.ok(contracts.resolve('codes.app-manifest@1'));
});
@@@ -33,13 +33,13 @@ const sdkPkg = require('openvibe-sdk/package.json');
const r = await t.get(p);
assert.strictEqual(r.status, 200, p);
assert.ok(r.text.includes(`openvibe-contracts v${contractsVersion}`), `${p} names the installed contracts version`);
-- assert.ok(r.text.includes('OpenVibe.Contracts/tree/v0.27.0'), `${p} links the pinned tag`);
-- if (contractsVersion !== '0.27.0') assert.ok(r.text.includes('(tag v0.27.0)'), `${p} says the tag differs from the package version`);
++ assert.ok(r.text.includes('OpenVibe.Contracts/tree/v0.28.0'), `${p} links the pinned tag`);
++ if (contractsVersion !== '0.28.0') assert.ok(r.text.includes('(tag v0.28.0)'), `${p} says the tag differs from the package version`);
assert.ok(r.text.includes(`openvibe-sdk v${sdkPkg.version}`), `${p} names the SDK version`);
}
const v = (await t.get('/api/v1/docs/versions')).json();
assert.strictEqual(v.contracts, contractsVersion);
-- assert.strictEqual(v.contracts_tag, 'v0.27.0');
++ assert.strictEqual(v.contracts_tag, 'v0.28.0');
assert.strictEqual(v.sdk, sdkPkg.version);
});