Split toolbox text import and goal tree styles
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
This commit is contained in:
parent
7348969ac4
commit
bd6dd78e34
13 changed files with 2298 additions and 2203 deletions
|
|
@ -174,6 +174,9 @@ test("toolbox module registry and modules expose expected behavior", async () =>
|
|||
const textExchangeHook = await readFile("website/src/features/toolboxes/modules/useTextExchange.js", "utf8");
|
||||
const countersModule = await readFile("website/src/features/toolboxes/modules/CountersModule.jsx", "utf8");
|
||||
const textImport = await readFile("website/src/features/toolboxes/modules/textImport.js", "utf8");
|
||||
const textImportShared = await readFile("website/src/features/toolboxes/modules/textImport/shared.js", "utf8");
|
||||
const textImportPlanning = await readFile("website/src/features/toolboxes/modules/textImport/planning.js", "utf8");
|
||||
const textImportTime = await readFile("website/src/features/toolboxes/modules/textImport/time.js", "utf8");
|
||||
const imageViewer = await readFile("website/src/components/ImageViewer.jsx", "utf8");
|
||||
|
||||
assert.match(moduleMetadataRegistry, /export const TOOLBOX_MODULES/);
|
||||
|
|
@ -483,16 +486,18 @@ test("toolbox module registry and modules expose expected behavior", async () =>
|
|||
assert.match(timerParts, /export function CountdownControls/);
|
||||
assert.match(timerParts, /export function CountdownList/);
|
||||
assert.match(timerOptions, /export const ALERT_MIN_DELAY_MS/);
|
||||
assert.match(textImport, /export function parseColonImportLines/);
|
||||
assert.match(textImport, /export \{ parseColonImportLines \}/);
|
||||
assert.match(textImport, /export function exportModuleText/);
|
||||
assert.match(textImport, /export function importModuleText/);
|
||||
assert.match(textImport, /export function hasTextExchangeContent/);
|
||||
assert.match(textImport, /line\.indexOf\(":"\)/);
|
||||
assert.match(textImport, /exportCalendarText/);
|
||||
assert.match(textImport, /importCalendarText/);
|
||||
assert.match(textImport, /exportGoalTreeText/);
|
||||
assert.match(textImport, /importGoalTreeText/);
|
||||
assert.match(textImport, /CALENDAR_WEEKDAYS/);
|
||||
assert.match(textImport, /TEXT_EXCHANGE_HANDLERS/);
|
||||
assert.match(textImportShared, /export function parseColonImportLines/);
|
||||
assert.match(textImportShared, /line\.indexOf\(":"\)/);
|
||||
assert.match(textImportTime, /export function exportCalendarText/);
|
||||
assert.match(textImportTime, /export function importCalendarText/);
|
||||
assert.match(textImportPlanning, /export function exportGoalTreeText/);
|
||||
assert.match(textImportPlanning, /export function importGoalTreeText/);
|
||||
assert.match(textImportTime, /CALENDAR_WEEKDAYS/);
|
||||
assert.match(imageViewer, /image-viewer-media/);
|
||||
assert.match(imageViewer, /image-viewer-image-frame/);
|
||||
assert.match(imageViewer, /image-viewer-marker/);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue