mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-28 17:14:15 +00:00
Loosen coverage requirements slightly (#1669)
## Description: Tight code coverage requirements and low coverage are making it difficult to merge code, because a small increase in lines of code can decrease coverage enough to trigger a test failure. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [ ] I have read and accepted the CLA agreement (only required once).
This commit is contained in:
+4
-4
@@ -29,10 +29,10 @@ export default {
|
||||
collectCoverageFrom: ["src/**/*.ts", "!src/**/*.d.ts"],
|
||||
coverageThreshold: {
|
||||
global: {
|
||||
statements: 22.2,
|
||||
branches: 17.5,
|
||||
lines: 22.7,
|
||||
functions: 21.2,
|
||||
statements: 22.0,
|
||||
branches: 17.0,
|
||||
lines: 22.5,
|
||||
functions: 21.0,
|
||||
},
|
||||
},
|
||||
coverageReporters: ["text", "lcov", "html"],
|
||||
|
||||
@@ -48,7 +48,7 @@ export class EmojiTable extends LitElement {
|
||||
this.hideTable();
|
||||
});
|
||||
});
|
||||
this.eventBus.on(CloseViewEvent, (e) => {
|
||||
eventBus.on(CloseViewEvent, (e) => {
|
||||
if (!this.hidden) {
|
||||
this.hideTable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user