UNPKG

ldx-widgets

Version:

widgets

23 lines (20 loc) 1.02 kB
require 'core-js/es6/map' require 'core-js/es6/set' require('../src/dispatcher') window.t = (string) -> string window.React = require 'react' window.ReactDOM = require 'react-dom' window._ = require 'lodash' window.moment = require 'moment' # Test utils window.TestUtils = TestUtils = require 'react-dom/test-utils' window.isDOMComponent = TestUtils.isDOMComponent window.renderIntoDocument = TestUtils.renderIntoDocument window.Simulate = TestUtils.Simulate window.findRenderedDOMComponentWithClass = TestUtils.findRenderedDOMComponentWithClass window.findRenderedDOMComponentWithTag = TestUtils.findRenderedDOMComponentWithTag window.scryRenderedDOMComponentsWithClass = TestUtils.scryRenderedDOMComponentsWithClass window.scryRenderedDOMComponentsWithTag = TestUtils.scryRenderedDOMComponentsWithTag window.findRenderedComponentWithType = TestUtils.findRenderedComponentWithType window.scryRenderedComponentsWithType = TestUtils.scryRenderedComponentsWithType window.ContextWrapper = require('../src/context_wrapper')