UNPKG

480 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = unwrap;
7var warnedOnce = false;
8
9function unwrap(component) {
10 if (!warnedOnce) {
11 warnedOnce = true;
12 console.warn(['Material-UI: the test utils are deprecated, they are no longer present in v5.', 'The helpers were designed to work with enzyme.', 'However, the tests of the core components were moved to react-testing-library.'].join('\n'));
13 }
14
15 return component.Naked;
16}
\No newline at end of file