Solution 0xef942c9480e93dba7221f5ccf4f52c7fface666847e7cec96a3bc5aea17dc743
Some checks failed
elffuss/validation The automatic validation rejected the solution
Some checks failed
elffuss/validation The automatic validation rejected the solution
T2T-Item: 0xef942c9480e93dba7221f5ccf4f52c7fface666847e7cec96a3bc5aea17dc743 T2T-Issue: 0x3feb02019930bc53f6e4b4d509adc4dafbd4700ac11301034c7ce23337e9cb35
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# core
|
||||
|
||||
Stand-in of the core repository for the public testnet of Elffuss Token to Token (T2T): only the files that some open task touches, and the modules they import. The full import is a later step.
|
||||
Stand-in of the core repository for the public testnet of Elffuss Token to Token (T2T): only the files that some open task touches, and the modules they import. The full import is a later step. Products vendor the core into web/js/ with the same file names.
|
||||
|
||||
18
tests/acceptance/2/CRITERIA.json
Normal file
18
tests/acceptance/2/CRITERIA.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schema": "elffuss-t2t/criteria@2",
|
||||
"issue": 2,
|
||||
"criteria": [
|
||||
{
|
||||
"index": 1,
|
||||
"tests": [
|
||||
"tests/acceptance/2/criteria.test.js::criterion 1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"index": 2,
|
||||
"tests": [
|
||||
"tests/acceptance/2/criteria.test.js::criterion 2"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
14
tests/acceptance/2/criteria.test.js
Normal file
14
tests/acceptance/2/criteria.test.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { test } from 'node:test'
|
||||
import assert from 'node:assert/strict'
|
||||
import { readFileSync } from 'node:fs'
|
||||
const text = readFileSync(new URL('../../../README.md', import.meta.url), 'utf8') // the content of README.md
|
||||
|
||||
test('criterion 1', () => {
|
||||
// README.md contains no reference to a file named `sync-core.sh` unless that file exists in the repository.
|
||||
assert.strictEqual(text.includes('sync-core.sh'), false, 'README.md should not reference sync-core.sh unless it exists')
|
||||
})
|
||||
|
||||
test('criterion 2', () => {
|
||||
// README.md still states that the products vendor the core into `web/js/` with the same file names.
|
||||
assert.strictEqual(text.includes('web/js/'), true, 'README.md should state that products vendor the core into web/js/')
|
||||
})
|
||||
Reference in New Issue
Block a user