mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 04:00:02 +00:00
9c3efe32e7
* First pass at adding comment trees. - Extracted comment replies into its own table. - Added ltree column to comment - Added parent_id param to GetComments to fetch a tree branch - No paging / limiting yet * Adding child_count to comment_aggregates. * Adding parent comment update counts * Fix unit tests. * Comment tree paging mostly done. * Fix clippy * Fix drone tests wrong postgres version. * Fix unit tests. * Add back in delete in unit test. * Add postgres upgrade script. * Fixing some PR comments. * Move update ltree into Comment::create * Updating based on comments. * Fix send soft fail.
28 lines
970 B
JSON
28 lines
970 B
JSON
{
|
|
"name": "api_tests",
|
|
"version": "0.0.1",
|
|
"description": "API tests for lemmy backend",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/LemmyNet/lemmy",
|
|
"author": "Dessalines",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
|
"fix": "prettier --write src && eslint --fix src",
|
|
"api-test": "jest -i follow.spec.ts && jest -i src/post.spec.ts && jest -i comment.spec.ts && jest -i private_message.spec.ts && jest -i user.spec.ts && jest -i community.spec.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@sniptt/monads": "^0.5.10",
|
|
"@types/jest": "^26.0.23",
|
|
"class-transformer": "^0.5.1",
|
|
"eslint": "^8.20.0",
|
|
"eslint-plugin-jane": "^11.2.2",
|
|
"jest": "^27.0.6",
|
|
"lemmy-js-client": "0.17.0-rc.37",
|
|
"node-fetch": "^2.6.1",
|
|
"prettier": "^2.7.1",
|
|
"reflect-metadata": "^0.1.13",
|
|
"ts-jest": "^27.0.3",
|
|
"typescript": "^4.6.4"
|
|
}
|
|
}
|