mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test: reorganize fixture files into modality-first layout (phase 6b)
Move all fixture files from flat/mixed dirs (content/, media/, documents/,
formats/, hostile/, root loose) into the modality-first hierarchy:
image/{valid,formats,edge,hostile}, video/{valid,formats,hostile},
audio/{valid,formats,hostile}, document/{valid,formats,edge,hostile},
data/valid/, security/. Update index.ts paths, fixtureDir aliases,
all literal refs in 17 e2e/qa/script files, manifest.json, and the
three generator scripts. 163 files moved, 0 dropped, 100 new tests
from expanded document scan.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// make-tiny-pptx.mjs
|
||||
//
|
||||
// Builds a minimal ECMA-376 (OOXML) presentation skeleton and writes it to
|
||||
// tests/fixtures/documents/tiny.pptx using adm-zip (root devDep).
|
||||
// tests/fixtures/document/formats/tiny.pptx using adm-zip (root devDep).
|
||||
//
|
||||
// ACCEPTANCE (2026-06-12, snapotter/snapotter:latest + libreoffice-impress):
|
||||
// soffice --headless --norestore --nolockcheck --nodefault \
|
||||
@@ -18,7 +18,7 @@ import { fileURLToPath } from "node:url";
|
||||
import AdmZip from "adm-zip";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const outPath = join(__dirname, "..", "..", "tests", "fixtures", "documents", "tiny.pptx");
|
||||
const outPath = join(__dirname, "..", "..", "tests", "fixtures", "document", "formats", "tiny.pptx");
|
||||
|
||||
const zip = new AdmZip();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user