"use strict";
var React;
describe('ReactTextComponent', function() {
beforeEach(function() {
React = require('React');
});
it('should escape the rootID', function(){
var ThisThingShouldBeEscaped = '">>> LULZ <<<"';
var ThisThingWasBeEscaped = '">>> LULZ <<<"';
var thing = <div><span key={ThisThingShouldBeEscaped}>LULZ</span></div>;
var html = React.renderToString(thing);
expect(html).not.toContain(ThisThingShouldBeEscaped);
expect(html).toContain(ThisThingWasBeEscaped);
})
});