fix test stub

pull/21833/head
Michael Telatynski 2020-08-29 13:02:45 +01:00
parent 517dee413e
commit c120458b81
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import React from 'react';
export default function({displayName = "StubComponent", render} = {}) { export default function({displayName = "StubComponent", render} = {}) {
if (!render) { if (!render) {
render = function() { render = function() {
return <div>{ this.displayName }</div>; return <div>{ displayName }</div>;
}; };
} }