diff --git a/blobs/0xfade6cf9984433927e52502d6a0e0d58cd9197a253de436e56ab923e3d36cbe3 b/blobs/0xfade6cf9984433927e52502d6a0e0d58cd9197a253de436e56ab923e3d36cbe3 new file mode 100644 index 0000000..68c8391 --- /dev/null +++ b/blobs/0xfade6cf9984433927e52502d6a0e0d58cd9197a253de436e56ab923e3d36cbe3 @@ -0,0 +1,53 @@ +diff --git a/README.md b/README.md +index a4a05ef9556b639523ab016bf07da7003efd26ab..ac24a9b16d228d7df96b90478ccfe915ef636822 100644 +--- a/README.md ++++ b/README.md +@@ -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. +diff --git a/tests/acceptance/2/CRITERIA.json b/tests/acceptance/2/CRITERIA.json +new file mode 100644 +index 0000000000000000000000000000000000000000..549b0d2922786bef700cc17577b03902c42310e6 +--- /dev/null ++++ b/tests/acceptance/2/CRITERIA.json +@@ -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" ++ ] ++ } ++ ] ++} +diff --git a/tests/acceptance/2/criteria.test.js b/tests/acceptance/2/criteria.test.js +new file mode 100644 +index 0000000000000000000000000000000000000000..fb5c50d02d3fa6b0ae60869040b4f3fecba0686f +--- /dev/null ++++ b/tests/acceptance/2/criteria.test.js +@@ -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/') ++}) diff --git a/events/0000000289.json b/events/0000000289.json new file mode 100644 index 0000000..9a4ee1b --- /dev/null +++ b/events/0000000289.json @@ -0,0 +1 @@ +{"data":{"cites":[],"envelope":{"delegation":{"identity":"0x16808507970f18ea89a07ad1d30b53e7e3a3891d","nonce":"1790923316","project":"0x0000000000000000000000000000000000000000000000000000000000000000","scopes":3,"sessionX":"0xcb850292d34644fc2c21598b934b94b5fcb0e6f2359c727df7666df8700d940c","sessionY":"0x7a30e145e0151461b43fcdd2b4789b81b5efe08af3688be6b8d3efb666860734","validFrom":"1790923316","validUntil":"1791528116"},"delegationSignature":"0x169fdc790559880429426a2d1a3c7fc0c46a15950a5e4ca2d1d0b90815225e1e486644e860f3dc98c672ace2f20aee152cd41e467020580ab096b1721cbd70e41b","kind":"session","signature":"0xe8077d7a8c9e085b27c16ed81ace7e468c541013081e0cf4915ea73bdef8b8a37bce4ffb9b4ee74593d5588959d268654ced0782bef093925695285dd623d2e0"},"mainHead":null,"message":{"author":"0x16808507970f18ea89a07ad1d30b53e7e3a3891d","baseCommit":"0x4dc1965d3112d6b45cea4d9cf10c2f1a7078cd5d","basePartial":"0x0000000000000000000000000000000000000000000000000000000000000000","citesHash":"0x0000000000000000000000000000000000000000000000000000000000000000","issueId":"0x3feb02019930bc53f6e4b4d509adc4dafbd4700ac11301034c7ce23337e9cb35","issuedAt":"1790925842","lines":0,"nonce":"1790925842000","patchHash":"0xfade6cf9984433927e52502d6a0e0d58cd9197a253de436e56ab923e3d36cbe3","project":"0x16d6e75341c5f21003a4d9e89b416a545f7335094d7df139fd20942c9b7fb2de","repo":"0xb599aedd619c8321892f96f0446029f00f5a12bf3043c65341bbf5afe98384ed"},"pr":"elffuss/core:item/0xef942c9480e93dba7221f5ccf4f52c7fface666847e7cec96a3bc5aea17dc743"},"eventHash":"0x13cd986243344b0fae78e26f8333b3c2173e838239375fa25fff75a6f46ee5bc","gatewaySignature":"0x9c9c4754909492ffad1afd2237c91615506204e1147d74b86e010b9c75006448316f4be4d76abb4e6f801a02b80df0350292cbae7609d0e0537c6db76d0c6fad1c","prev":"0x2a8467aab032921bd659255667d93dfa506149035da9342f9372b7f3e041993d","seq":289,"ts":1790925842,"type":"solution","v":2}