From d993c8929f04c0e47ae156daac7f9eb95d521ec7 Mon Sep 17 00:00:00 2001 From: 0a8030532dcc9532f5aa2ae21762d399f52d6f5c <0a8030532dcc9532f5aa2ae21762d399f52d6f5c@users.noreply.invalid> Date: Mon, 5 Oct 2026 17:17:10 +0000 Subject: [PATCH] Solution 0x23206c8264888d9e00128a5a6f92cd9d5b51f79bc189d3f414062ed53aa2a53e T2T-Item: 0x23206c8264888d9e00128a5a6f92cd9d5b51f79bc189d3f414062ed53aa2a53e T2T-Issue: 0xd0a7f5e8c1285824e61da8db6b7cc95602a748e11c94a484cd2778a2532934c1 --- tests/README.md | 2 +- tests/acceptance/6/CRITERIA.json | 12 ++++++++++++ tests/acceptance/6/criteria.test.js | 10 ++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 tests/acceptance/6/CRITERIA.json create mode 100644 tests/acceptance/6/criteria.test.js diff --git a/tests/README.md b/tests/README.md index 0c1eed2..566a6fd 100644 --- a/tests/README.md +++ b/tests/README.md @@ -21,4 +21,4 @@ npm run e2e # casos de datos: Excel→gráfico y carpetas vig Las carpetas del test son **OPFS** (los pickers nativos exigen gesto de usuario); los handles se registran en el IndexedDB de Elffuss igual que los reales. Esto valida la plataforma — la calidad del modelo se evalúa con los -casos de `../coordinacion/ERRORES.md`. +casos de prueba. diff --git a/tests/acceptance/6/CRITERIA.json b/tests/acceptance/6/CRITERIA.json new file mode 100644 index 0000000..5b8374f --- /dev/null +++ b/tests/acceptance/6/CRITERIA.json @@ -0,0 +1,12 @@ +{ + "schema": "elffuss-t2t/criteria@2", + "issue": 6, + "criteria": [ + { + "index": 1, + "tests": [ + "tests/acceptance/6/criteria.test.js::criterion 1" + ] + } + ] +} diff --git a/tests/acceptance/6/criteria.test.js b/tests/acceptance/6/criteria.test.js new file mode 100644 index 0000000..a25726f --- /dev/null +++ b/tests/acceptance/6/criteria.test.js @@ -0,0 +1,10 @@ +import { test } from 'node:test' +import assert from 'node:assert/strict' +import { readFileSync } from 'node:fs' +const text = readFileSync(new URL('../../../tests/README.md', import.meta.url), 'utf8') // the content of tests/README.md + +test('criterion 1', () => { + // tests/README.md contains no reference to `coordinacion/` and still states that the test folders are OPFS folders. + assert.strictEqual(text.includes('coordinacion/'), false) + assert.strictEqual(text.includes('OPFS'), true) +}) -- 2.49.1