mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
![Dessalines](/assets/img/avatar_default.png)
* Doing tests in sequential order. Fixes #2158 * Doing tests in sequential order. Fixes #2158 * Fixing order 1
26 lines
865 B
JSON
26 lines
865 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": {
|
|
"@types/jest": "^26.0.23",
|
|
"eslint": "^7.30.0",
|
|
"eslint-plugin-jane": "^9.0.3",
|
|
"jest": "^27.0.6",
|
|
"lemmy-js-client": "0.13.1-rc.1",
|
|
"node-fetch": "^2.6.1",
|
|
"prettier": "^2.3.2",
|
|
"ts-jest": "^27.0.3",
|
|
"typescript": "^4.3.5"
|
|
}
|
|
}
|