test('should return config when skip errors is boolean', () => {
    const config = {
      [SKIP_ERRORS_KEY]: DEFAULT_SKIP_ERRORS,
    };
    const expected = {
      ...config,
    };
    const result = validateSkipErrors(config);

    expect.assertions(1);
    expect(result).toEqual(expected);
  });
 expect(() => validateSkipErrors(config))