From df2efb313b3cf5a5172e45f144461846fa690455 Mon Sep 17 00:00:00 2001 From: Divya Karippath Date: Wed, 1 Dec 2021 14:52:17 -0800 Subject: [PATCH] fix: tests in subapp-react package --- packages/subapp-react/test/spec/ssr-framework.spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/subapp-react/test/spec/ssr-framework.spec.js b/packages/subapp-react/test/spec/ssr-framework.spec.js index ec72d39bf..be4ba03b1 100644 --- a/packages/subapp-react/test/spec/ssr-framework.spec.js +++ b/packages/subapp-react/test/spec/ssr-framework.spec.js @@ -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 @@ -433,7 +432,7 @@ describe("SSR React framework", function () { Component }, subAppServer: { - renderer: (element, options) => { + renderer: () => { return "

Rendered via Custom renderer

"; } },