github
1353 of 1530 branches covered (88.43%)
Branch coverage included in aggregate %.
83 of 1570 new or added lines in 22 files covered. (5.29%)
5529 of 10833 relevant lines covered (51.04%)
28.07 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
|
} |
× |