Skip to content

Commit

Permalink
fix: tests in subapp-react package (#1866)
Browse files Browse the repository at this point in the history
Co-authored-by: Divya Karippath <[email protected]>
  • Loading branch information
divyakarippath and Divya Karippath authored Dec 1, 2021
1 parent 31dcc0d commit 471baba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/subapp-react/test/spec/ssr-framework.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

const url = require("url");
const React = require("react"); // eslint-disable-line
const ReactDOMServer = require("react-dom/server");
const lib = require("../../lib");
const { withRouter } = require("react-router");
const { Route, Switch } = require("react-router-dom"); // eslint-disable-line
Expand Down Expand Up @@ -433,7 +432,7 @@ describe("SSR React framework", function () {
Component
},
subAppServer: {
renderer: (element, options) => {
renderer: () => {
return "<h1>Rendered via Custom renderer</h1>";
}
},
Expand Down

0 comments on commit 471baba

Please sign in to comment.