github
1354 of 1531 branches covered (88.44%)
Branch coverage included in aggregate %.
113 of 1543 new or added lines in 23 files covered. (7.32%)
3 existing lines in 3 files now uncovered.5522 of 10725 relevant lines covered (51.49%)
28.35 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
|
} |
× |