refactor: remove test code
This commit is contained in:
committed by
Stefan Rotsch
parent
0d2265c57e
commit
dd9ce8ed77
@@ -86,7 +86,6 @@ var createStaticFiles = function () { return __awaiter(void 0, void 0, void 0, f
|
|||||||
jsdom_1.JSDOM.fromFile(targetPath).then(function (dom) {
|
jsdom_1.JSDOM.fromFile(targetPath).then(function (dom) {
|
||||||
var document = dom.window.document;
|
var document = dom.window.document;
|
||||||
var rootEl = document.getElementById("root");
|
var rootEl = document.getElementById("root");
|
||||||
document.title = "test";
|
|
||||||
(0, config_1.setTitle)(document, item.title);
|
(0, config_1.setTitle)(document, item.title);
|
||||||
if (rootEl) {
|
if (rootEl) {
|
||||||
var textNode = document.createElement("div");
|
var textNode = document.createElement("div");
|
||||||
|
|||||||
@@ -56,8 +56,6 @@ const createStaticFiles = async () => {
|
|||||||
const document = dom.window.document;
|
const document = dom.window.document;
|
||||||
const rootEl = document.getElementById("root");
|
const rootEl = document.getElementById("root");
|
||||||
|
|
||||||
document.title = "test";
|
|
||||||
|
|
||||||
setTitle(document, item.title);
|
setTitle(document, item.title);
|
||||||
|
|
||||||
if (rootEl) {
|
if (rootEl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user