Tests / writer-pipeline tests (push) Failing after 1s
Tests / bridge tests (push) Failing after 1s
Tests / frontend lib tests (push) Failing after 1s
Tests / writer-pipeline tests (pull_request) Successful in 52s
Tests / bridge tests (pull_request) Successful in 25s
Tests / frontend lib tests (pull_request) Successful in 29s
87 new tests covering previously untested pure functions: - writer-pipeline: token-metrics, store (canonicalUrl/itemId/upsertItem/shortlist), config-load - bridge: ranking (freshness/relevance/rank/filter/take_top_n), aggregator-mapper - frontend/lib: format, ui-i18n, public-origin Adds test:coverage scripts (node --experimental-test-coverage) and Gitea CI workflow. writer-pipeline now reports 95.91% line coverage. Co-Authored-By: Paperclip <[email protected]>
26 lines
649 B
JSON
26 lines
649 B
JSON
{
|
|
"name": "news-platform-frontend",
|
|
"type": "module",
|
|
"version": "0.1.0",
|
|
"description": "Astro SSR frontend for multi-domain sports news platform",
|
|
"engines": {
|
|
"node": ">=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"test": "node --import tsx/esm --test src/lib/*.test.ts",
|
|
"test:coverage": "node --experimental-test-coverage --import tsx/esm --test src/lib/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/node": "^10.0.3",
|
|
"astro": "^6.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.19.39",
|
|
"tsx": "^4.21.0"
|
|
}
|
|
}
|