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 platform tour track
Source Definition
import { defineTestSpec } from '@lssm-tech/lib.contracts-spec/tests';
export const GetTrackTest = defineTestSpec({
meta: {
key: 'learningJourney.platformTour.getTrack.test',
version: '1.0.0',
stability: 'experimental',
owners: ['@example.learning-journey-platform-tour'],
description: 'Test for getting platform tour track',
tags: ['test'],
},
target: {
type: 'operation',
operation: {
key: 'learningJourney.platformTour.getTrack',
version: '1.0.0',
},
},
scenarios: [
{
key: 'success',
when: { operation: { key: 'learningJourney.platformTour.getTrack' } },
then: [{ type: 'expectOutput', match: {} }],
},
{
key: 'error',
when: { operation: { key: 'learningJourney.platformTour.getTrack' } },
then: [{ type: 'expectError' }],
},
],
});