mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-16 09:24:00 +00:00
Upgrade api_test deps (#2850)
* Upgrade api_test deps * Fix cargo fmt. * Try to trigger a new format
This commit is contained in:
parent
014c0ad87f
commit
d63b1ba935
3 changed files with 957 additions and 1356 deletions
|
@ -12,16 +12,16 @@
|
||||||
"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"
|
"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": {
|
"devDependencies": {
|
||||||
"@types/jest": "^26.0.23",
|
"@types/jest": "^29.5.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
"@types/node": "^20.1.2",
|
||||||
"@typescript-eslint/parser": "^5.21.0",
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
||||||
"eslint": "^8.25.0",
|
"@typescript-eslint/parser": "^5.59.5",
|
||||||
|
"eslint": "^8.40.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"jest": "^27.0.6",
|
"jest": "^29.5.0",
|
||||||
"lemmy-js-client": "0.17.2-rc.11",
|
"lemmy-js-client": "0.17.2-rc.13",
|
||||||
"node-fetch": "^2.6.1",
|
"prettier": "^2.8.8",
|
||||||
"prettier": "^2.7.1",
|
"ts-jest": "^29.1.0",
|
||||||
"ts-jest": "^27.0.3",
|
"typescript": "^5.0.4"
|
||||||
"typescript": "^4.8.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2292
api_tests/yarn.lock
2292
api_tests/yarn.lock
File diff suppressed because it is too large
Load diff
|
@ -14,7 +14,6 @@ impl<T> Sensitive<T> {
|
||||||
pub fn new(item: T) -> Self {
|
pub fn new(item: T) -> Self {
|
||||||
Sensitive(item)
|
Sensitive(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn into_inner(self) -> T {
|
pub fn into_inner(self) -> T {
|
||||||
self.0
|
self.0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue