OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Test for getting studio onboarding track
Source Definition
import { defineTestSpec } from '@lssm-tech/lib.contracts-spec/tests';
export const GetTrackTest = defineTestSpec({
meta: {
key: 'learningJourney.studioOnboarding.getTrack.test',
version: '1.0.0',
stability: 'experimental',
owners: ['@example.learning-journey-studio-onboarding'],
description: 'Test for getting studio onboarding track',
tags: ['test'],
},
target: {
type: 'operation',
operation: {
key: 'learningJourney.studioOnboarding.getTrack',
version: '1.0.0',
},
},
scenarios: [
{
key: 'success',
when: { operation: { key: 'learningJourney.studioOnboarding.getTrack' } },
then: [{ type: 'expectOutput', match: {} }],
},
{
key: 'error',
when: { operation: { key: 'learningJourney.studioOnboarding.getTrack' } },
then: [{ type: 'expectError' }],
},
],
});