From 27b65cf487b88bb3f6391709020ddf7d3d49a331 Mon Sep 17 00:00:00 2001 From: 6b51d8b8ae3ff4e4f6e7b585b78ef1cda12586b5 <6b51d8b8ae3ff4e4f6e7b585b78ef1cda12586b5@users.noreply.invalid> Date: Fri, 2 Oct 2026 08:56:07 +0000 Subject: [PATCH] Solution 0x0a05b95217a076763de863d97671d40053f69a8a1e6ec2d660a719e301bbf5b8 T2T-Item: 0x0a05b95217a076763de863d97671d40053f69a8a1e6ec2d660a719e301bbf5b8 T2T-Issue: 0xd0a7f5e8c1285824e61da8db6b7cc95602a748e11c94a484cd2778a2532934c1 --- tests/acceptance/6/CRITERIA.json | 12 ++++++++++++ tests/acceptance/6/criteria.test.js | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 tests/acceptance/6/CRITERIA.json create mode 100644 tests/acceptance/6/criteria.test.js 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..b0b63f1 --- /dev/null +++ b/tests/acceptance/6/criteria.test.js @@ -0,0 +1,11 @@ +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/` + assert.equal(text.includes('coordinacion/'), false) + // and still states that the test folders are OPFS folders. + assert.equal(text.includes('OPFS'), true) +}) -- 2.49.1