openvibers/openvibe.games Commits

Assert the default Scraplandia map is present in the map pack test

OP OpenVibers committed 4 Oct 2026 · 47887cd6d9 · 1 file, +1 −1

Requested by finish-f2. Handed to the local harness by the cloud job pr-OpenVibe.Games-4; done by Claude opus.

Changes

ddiff --git a/apps/server/src/mods/contentPack.test.ts b/apps/server/src/mods/contentPack.test.ts
iindex 5177c5b..197e37d 100644
---- a/apps/server/src/mods/contentPack.test.ts
++++ b/apps/server/src/mods/contentPack.test.ts
@@@ -42,7 +42,7 @@ async function setup() {
describe('games-content@2 definitions', () => {
it('recognizes an authored map as a definition-capability section', () => {
-- const mapPack = { map: SCRAPLANDIA_PACK.map }
++ const mapPack = { map: SCRAPLANDIA_PACK.map! }
expect(capabilitiesUsedBy(mapPack)).toEqual([CAP_DEFINE])
expect(validateContentPack(mapPack, createContent()).ok).toBe(true)
expect(validateContentPack({ map: { id: 'broken' } }, createContent()).ok).toBe(false)