This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/packages/icd-test-runner/js/tier-crud.js
Jeffrey Smith 071dea8904 Changeset 0.31.0 (#203)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-03-19 00:06:16 +00:00

36 lines
1.3 KiB
JavaScript

/**
* ICD Test Runner — CRUD Tier (Orchestrator)
*
* Thin dispatcher that generates a shared testTag and calls each
* CRUD group module in sequence. Each group is registered on T.crud
* by its own IIFE (loaded via crud/*.js).
*/
(function () {
'use strict';
var T = window.ICD;
if (!T) return;
T.runCrud = async function () {
var testTag = 'icd-test-' + Date.now();
var C = T.crud || {};
if (C.channels) await C.channels(testTag);
if (C.models) await C.models(testTag);
if (C.profile) await C.profile(testTag);
if (C.notes) await C.notes(testTag);
if (C.projects) await C.projects(testTag);
if (C.knowledge) await C.knowledge(testTag);
if (C.workspaces) await C.workspaces(testTag);
if (C.notifications) await C.notifications(testTag);
if (C.memory) await C.memory(testTag);
if (C.admin) await C.admin(testTag);
if (C.workflows) await C.workflows(testTag);
if (C.tasks) await C.tasks(testTag);
if (C.teams) await C.teams(testTag);
if (C.personas) await C.personas(testTag);
if (C.extensions) await C.extensions(testTag);
if (C.surfaces) await C.surfaces(testTag);
if (C.editorPackage) await C.editorPackage(testTag);
};
})();