import { configSchema } from './config' ; describe ( 'config validation' , ( ) => { test ( 'alerting defaults' , ( ) => { const config = { } ; expect ( configSchema . validate ( config ) ) . toMatchInlineSnapshot ( `
      Object {
        "cancelAlertsOnRuleTimeout": true,
        "defaultRuleTaskTimeout": "5m",
        "healthCheck": Object {
          "interval": "60m",
        },
        "invalidateApiKeysTask": Object {
          "interval": "5m",
          "removalDelay": "1h",
        },
        "maxEphemeralActionsPerAlert": 10,
      }
    ` ) ; } ) ; } ) ;