Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib-commonjs/common/isConformant.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

24 lines
1.0 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isConformant = isConformant;
var react_conformance_1 = require("@fluentui/react-conformance");
function isConformant(testInfo) {
var _a;
var defaultOptions = {
disabledTests: [
'kebab-aria-attributes',
// v8 has a different prefix, and there's a setting for that now,
// but a lot of components don't set a consistent/expected classname
'component-has-static-classname',
// v8 doesn't export classnames
'component-has-static-classname-exported',
// Will enable with appropriate overrides separately
'consistent-callback-names',
'consistent-callback-args',
'component-has-static-classnames-object',
],
componentPath: (_a = require.main) === null || _a === void 0 ? void 0 : _a.filename.replace('.test', ''),
};
(0, react_conformance_1.isConformant)(defaultOptions, testInfo);
}
//# sourceMappingURL=isConformant.js.map