react-input-material 0.0.388 → 0.0.389
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/FileInput.js +1 -1
- package/components/GenericInput.js +1 -1
- package/components/Inputs.js +1 -1
- package/components/Interval.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/testHelper.d.ts +4 -0
- package/testHelper.js +1 -1
package/package.json
CHANGED
package/testHelper.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { afterEach, beforeEach } from '@jest/globals';
|
|
2
|
+
import { TestEnvironment } from './type';
|
|
3
|
+
export declare const prepareTestEnvironment: (currentBeforeEach: typeof beforeEach, currentAfterEach: typeof afterEach) => TestEnvironment;
|
|
4
|
+
export default prepareTestEnvironment;
|
package/testHelper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("
|
|
1
|
+
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("clientnode"),require("react-dom/client"),require("react-dom/test-utils")):"function"==typeof define&&define.amd?define("componentsDummy",["clientnode","react-dom/client","react-dom/test-utils"],e):"object"==typeof exports?exports.componentsDummy=e(require("clientnode"),require("react-dom/client"),require("react-dom/test-utils")):(n.componentsDummy=n.componentsDummy||{},n.componentsDummy.componentsFileInput=n.componentsDummy.componentsFileInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate=n.componentsDummy.componentsFileInput.componentsGenericAnimate||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index.testHelper=e(n.clientnode,n["react-dom/client"],n["react-dom/test-utils"]))}(this,(function(n,e,o){return function(){"use strict";var t={3:function(e){e.exports=n},41:function(n){n.exports=e},42:function(n){n.exports=o}},p={};function c(n){var e=p[n];if(void 0!==e)return e.exports;var o=p[n]={exports:{}};return t[n](o,o.exports,c),o.exports}c.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return c.d(e,{a:e}),e},c.d=function(n,e){for(var o in e)c.o(e,o)&&!c.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},c.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},c.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var m={};return function(){c.r(m),c.d(m,{prepareTestEnvironment:function(){return t}});var n=c(3),e=c(41),o=c(42);n.globalContext.IS_REACT_ACT_ENVIRONMENT=!0;var t=function(n,t){var p=null,c={container:null,render:function(n){var e,t;return(0,o.act)((function(){p?p.render(n):console.error('You call "render" outside a testing context.')})),null!=(e=c.container)&&null!=(t=e.childNodes)&&t.length?c.container.childNodes[0]:c.container}};return n((function(){c.container=document.createElement("div"),c.container.setAttribute("class","test-wrapper"),document.body.appendChild(c.container),p||(0,o.act)((function(){p=(0,e.createRoot)(c.container)}))})),t((function(){p&&(0,o.act)((function(){p.unmount(),p=null})),c.container.remove(),c.container=null})),c};m.default=t}(),m}()}));
|