UNPKG

ldx-widgets

Version:

widgets

20 lines (18 loc) 970 B
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')