Solution 0x8df7219addf7657524dfba5f7bc2f5f21cbcc6daa665fbf88ea85a7154cae7be
All checks were successful
elffuss/validation Validation passed with flags for the reviewers
All checks were successful
elffuss/validation Validation passed with flags for the reviewers
T2T-Item: 0x8df7219addf7657524dfba5f7bc2f5f21cbcc6daa665fbf88ea85a7154cae7be T2T-Issue: 0xf42f82ffe487fa87c286eb31d60d3c01318181e9a6f69b4a384ec61dd2a1872d
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"name": "elffuss-engine",
|
"name": "elffuss-engine",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Runtime de inferencia propio (privado). Sin dependencias.",
|
"description": "Elffuss inference runtime for the browser. No dependencies.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"check": "for f in js/*.js tests/*.mjs; do node --check \"$f\" || exit 1; done",
|
"check": "for f in js/*.js tests/*.mjs; do node --check \"$f\" || exit 1; done",
|
||||||
"test": "node tests/gguf.mjs",
|
"test": "node tests/gguf.mjs",
|
||||||
|
|||||||
12
tests/acceptance/3/CRITERIA.json
Normal file
12
tests/acceptance/3/CRITERIA.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"schema": "elffuss-t2t/criteria@2",
|
||||||
|
"issue": 3,
|
||||||
|
"criteria": [
|
||||||
|
{
|
||||||
|
"index": 1,
|
||||||
|
"tests": [
|
||||||
|
"tests/acceptance/3/criteria.test.js::criterion 1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
12
tests/acceptance/3/criteria.test.js
Normal file
12
tests/acceptance/3/criteria.test.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import { test } from 'node:test'
|
||||||
|
import assert from 'node:assert/strict'
|
||||||
|
import { readFileSync } from 'node:fs'
|
||||||
|
const text = readFileSync(new URL('../../../package.json', import.meta.url), 'utf8') // the content of package.json
|
||||||
|
|
||||||
|
test('criterion 1', () => {
|
||||||
|
// The `description` field of package.json equals `Elffuss inference runtime for the browser. No dependencies.`, and the `scripts` object and the `private` field are unchanged.
|
||||||
|
const pkg = JSON.parse(text)
|
||||||
|
assert.equal(pkg.description, 'Elffuss inference runtime for the browser. No dependencies.')
|
||||||
|
assert.equal(pkg.scripts, pkg.scripts)
|
||||||
|
assert.equal(pkg.private, pkg.private)
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user