Mailspring/internal_packages/tooltip/spec/tooltip-spec.cjsx
Evan Morikawa fc4b3b56d7 refactor(utils): switch to regular underscore
Summary:
Fixes: T1334

remove final InboxApp references

move out all underscore-plus methods

Mass find and replace of underscore-plus

sed -i '' -- 's/underscore-plus/underscore/g' **/*.coffee
sed -i '' -- 's/underscore-plus/underscore/g' **/*.cjsx

Test Plan: edgehill --test

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D1534
2015-05-19 16:06:59 -07:00

15 lines
398 B
CoffeeScript

# Testing the Tooltip component
_ = require 'underscore'
React = require 'react/addons'
ReactTestUtils = React.addons.TestUtils
Tooltip = require '../lib/tooltip'
describe "Tooltip", ->
beforeEach ->
@tooltip = ReactTestUtils.renderIntoDocument(
<Tooltip />
)
it "renders to the document", ->
expect(ReactTestUtils.isCompositeComponentWithType @tooltip, Tooltip).toBe true