github
1353 of 1530 branches covered (88.43%)
Branch coverage included in aggregate %.
69 of 1501 new or added lines in 20 files covered. (4.6%)
2 existing lines in 1 file now uncovered.5530 of 10779 relevant lines covered (51.3%)
28.21 hits per line
NEW
|
import { ConfigBase } from 'base/src/config'; |
× |
NEW
|
import { InitConfig } from 'page-spy-react-native/types'; |
× |
NEW
|
|
× |
NEW
|
export class Config extends ConfigBase<InitConfig> { |
× |
NEW
|
protected privateKeys: (keyof InitConfig)[] = ['secret']; |
× |
NEW
|
// I need to use generic type on this method, so it can't be static
|
× |
NEW
|
/* eslint-disable-next-line class-methods-use-this */
|
× |
NEW
|
protected defaultConfig() {
|
× |
NEW
|
return {
|
× |
NEW
|
api: '', |
× |
NEW
|
project: 'default', |
× |
NEW
|
title: '',
|
× |
NEW
|
enableSSL: true,
|
× |
NEW
|
disabledPlugins: [], |
× |
NEW
|
useSecret: false,
|
× |
NEW
|
secret: '',
|
× |
NEW
|
messageCapacity: 0,
|
× |
NEW
|
}; |
× |
NEW
|
} |
× |
NEW
|
} |
× |