This commit is contained in:
parent
ef5f977f8a
commit
d7871736c8
10 changed files with 566 additions and 8 deletions
|
|
@ -106,6 +106,8 @@ export function validateSiteContent(site) {
|
|||
"toolboxes.modules.screenshots.pastePlaceholder",
|
||||
"toolboxes.modules.screenshots.pasteAriaLabel",
|
||||
"toolboxes.modules.screenshots.imageAlt",
|
||||
"toolboxes.modules.screenshots.labelPlaceholder",
|
||||
"toolboxes.modules.screenshots.labelAriaLabel",
|
||||
"toolboxes.modules.screenshots.previewAriaLabel",
|
||||
"toolboxes.modules.screenshots.annotateAriaLabel",
|
||||
"toolboxes.modules.screenshots.annotateTitle",
|
||||
|
|
|
|||
|
|
@ -10,6 +10,19 @@ test("vite entrypoint loads the react application", async () => {
|
|||
assert.match(html, /\/src\/main\.jsx/);
|
||||
});
|
||||
|
||||
test("project documentation tracks storage and feature updates", async () => {
|
||||
const storageSchema = await readFile("docs/STORAGE_SCHEMA.md", "utf8");
|
||||
const featureChecklist = await readFile("docs/FEATURE_CHECKLIST.md", "utf8");
|
||||
|
||||
assert.match(storageSchema, /IndexedDB/);
|
||||
assert.match(storageSchema, /Outil Checklist/);
|
||||
assert.match(storageSchema, /Outil Images/);
|
||||
assert.match(storageSchema, /Outil Annotation d'images/);
|
||||
assert.match(storageSchema, /Outil Calculateur/);
|
||||
assert.match(featureChecklist, /Mettre à jour `docs\/STORAGE_SCHEMA\.md`/);
|
||||
assert.match(featureChecklist, /npm run check/);
|
||||
});
|
||||
|
||||
test("react application defines the expected local toolbox primitives", async () => {
|
||||
const source = await readFile("website/src/main.jsx", "utf8");
|
||||
const styles = await readFile("website/src/styles/main.scss", "utf8");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue