Compare commits
1 Commits
main
...
item/0xfea
| Author | SHA1 | Date | |
|---|---|---|---|
| e069aa61a4 |
@@ -2,7 +2,7 @@
|
||||
"name": "elffuss-engine",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "Runtime de inferencia propio (privado). Sin dependencias.",
|
||||
"description": "Elffuss inference runtime for the browser. No dependencies.",
|
||||
"scripts": {
|
||||
"check": "for f in js/*.js tests/*.mjs; do node --check \"$f\" || exit 1; done",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
16
tests/acceptance/3/criteria.test.js
Normal file
16
tests/acceptance/3/criteria.test.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import test from 'node:test'
|
||||
import assert from 'node:assert/strict'
|
||||
import pkg from '../../../package.json' with { type: 'json' }
|
||||
|
||||
test('criterion 1', () => {
|
||||
assert.equal(pkg.description, 'Elffuss inference runtime for the browser. No dependencies.')
|
||||
assert.equal(pkg.private, true)
|
||||
assert.equal(Object.keys(pkg.scripts).length, 31)
|
||||
assert.equal(pkg.scripts.test, 'node tests/gguf.mjs')
|
||||
assert.equal(
|
||||
pkg.scripts.check,
|
||||
'for f in js/*.js tests/*.mjs; do node --check "$f" || exit 1; done'
|
||||
)
|
||||
assert.equal(pkg.scripts['test:e2e'], 'node tests/e2e-claw.mjs')
|
||||
assert.equal(pkg.scripts['perfil:pases'], 'node tests/browser.mjs tests/prefillpases.browser.mjs')
|
||||
})
|
||||
Reference in New Issue
Block a user