diff --git a/test/components/stub-component.js b/test/components/stub-component.js index 72ffde3483..e242c06707 100644 --- a/test/components/stub-component.js +++ b/test/components/stub-component.js @@ -6,7 +6,7 @@ import React from 'react'; export default function({displayName = "StubComponent", render} = {}) { if (!render) { render = function() { - return
{ this.displayName }
; + return
{ displayName }
; }; }