From 76fe572a97890237da6d2552ed6921d4dce85da4 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Wed, 21 Jan 2015 17:07:29 -0800 Subject: [PATCH] Fix inaccurate spec description The string here was initially accurate, but got out of sync with reality when the commit was revised (as 892e357fd5acc). --- .../ui/dom/components/__tests__/LocalEventTrapMixin-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/ui/dom/components/__tests__/LocalEventTrapMixin-test.js b/src/browser/ui/dom/components/__tests__/LocalEventTrapMixin-test.js index d454b87cdd..7bca26b335 100644 --- a/src/browser/ui/dom/components/__tests__/LocalEventTrapMixin-test.js +++ b/src/browser/ui/dom/components/__tests__/LocalEventTrapMixin-test.js @@ -24,7 +24,7 @@ describe('LocalEventTrapMixin', function() { ReactTestUtils = require('ReactTestUtils'); }); - it('does not fatal when trapping bubbled state on null', function() { + it('throws when trapping bubbled state on null', function() { var BadImage = React.createClass({ mixins: [LocalEventTrapMixin], render: function() {