import _extends from "@babel/runtime/helpers/esm/extends";
import createDescribe from '@mui/monorepo/test/utils/createDescribe';
import { testCalculations } from './testCalculations';
import { testLocalization } from './testLocalization';
function innerJalaliDescribeAdapter(Adapter, params) {
  var adapter = new Adapter();
  describe(adapter.lib, function () {
    var testSuitParams = _extends({}, params, {
      adapter: adapter
    });
    if (params.before) {
      before(params.before);
    }
    if (params.after) {
      after(params.after);
    }
    testCalculations(testSuitParams);
    testLocalization(testSuitParams);
  });
}
export var describeHijriAdapter = createDescribe('Adapter methods', innerJalaliDescribeAdapter);