import Metrics , { Settings } from '../src' ; export const settings = { context : { } , ignoreErrors : [ ] , sentry : { } , sentryKey : '' , sentryProject : '' , userID : null , } ; beforeEach ( ( ) => { Metrics . settings = { ... settings , sentryKey : 'key' , sentryProject : 'lunar' } ; } ) ; afterEach ( ( ) => { Metrics . settings = { ... settings } ; } ) ;