1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Fix jest/no-conditional-expect lint and enable it (#10307)

This commit is contained in:
Michael Telatynski
2023-03-07 13:58:10 +00:00
committed by GitHub
parent 2c97cb4054
commit af1ec76149
8 changed files with 49 additions and 83 deletions

View File

@ -179,9 +179,6 @@ module.exports = {
// TODO: There are many tests with invalid expects that should be fixed,
// https://github.com/vector-im/element-web/issues/24709
"jest/valid-expect": "off",
// TODO: There are many cases to refactor away,
// https://github.com/vector-im/element-web/issues/24710
"jest/no-conditional-expect": "off",
// Also treat "oldBackendOnly" as a test function.
// Used in some crypto tests.
"jest/no-standalone-expect": [