mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-27 02:36:06 +08:00
16 lines
403 B
CoffeeScript
16 lines
403 B
CoffeeScript
# Testing the Tooltip component
|
|
_ = require 'underscore-plus'
|
|
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
|