mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
- Changed devDependencies from "lua_test" to "testing" in package.json for ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor. - Removed legacy test scripts and parameterized tests, replacing them with a unified test suite structure in the tests section of package.json. - Introduced new metadata.params.json files for each package to define test parameters for package ID validation, icon file existence, and JSON schema validation. - Created new metadata.test.json files for each package to define structured test cases for validating package metadata, including checks for package ID, icon file existence, and schema validity.
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/package-styles.schema.json",
|
|
"schemaVersion": "2.0.0",
|
|
"colors": {
|
|
"testPassed": "#28a745",
|
|
"testFailed": "#dc3545",
|
|
"testSkipped": "#ffc107",
|
|
"testPending": "#6c757d",
|
|
"testRunning": "#007bff",
|
|
"assertionSuccess": "#28a745",
|
|
"assertionFailure": "#dc3545",
|
|
"mockHighlight": "#6f42c1",
|
|
"codeBg": "#f8f9fa",
|
|
"errorBg": "#fff5f5",
|
|
"successBg": "#f0fff4"
|
|
},
|
|
"spacing": {
|
|
"testResultPadding": "12px",
|
|
"testItemGap": "8px",
|
|
"suiteIndent": "16px",
|
|
"assertionIndent": "24px",
|
|
"errorStackPadding": "8px"
|
|
},
|
|
"shadows": {
|
|
"testCard": "0 2px 8px rgba(0, 0, 0, 0.1)",
|
|
"resultPanel": "0 1px 4px rgba(0, 0, 0, 0.08)",
|
|
"errorHighlight": "inset 3px 0 0 #dc3545"
|
|
},
|
|
"typography": {
|
|
"testName": {
|
|
"fontFamily": "IBM Plex Sans",
|
|
"fontSize": "14px",
|
|
"fontWeight": 500
|
|
},
|
|
"suiteName": {
|
|
"fontFamily": "Space Grotesk",
|
|
"fontSize": "16px",
|
|
"fontWeight": 600
|
|
},
|
|
"errorMessage": {
|
|
"fontFamily": "JetBrains Mono",
|
|
"fontSize": "12px",
|
|
"fontWeight": 400
|
|
},
|
|
"codeBlock": {
|
|
"fontFamily": "JetBrains Mono",
|
|
"fontSize": "13px",
|
|
"lineHeight": 1.5
|
|
}
|
|
},
|
|
"borders": {
|
|
"testItem": "1px solid #dee2e6",
|
|
"suiteHeader": "2px solid #007bff",
|
|
"errorBlock": "1px solid #dc3545"
|
|
}
|
|
}
|