UNPKG

e2ed

Version:

E2E testing framework over Playwright

15 lines (14 loc) 520 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.writeStartInfo = void 0; const internal_1 = require("../../constants/internal"); const writeFile_1 = require("./writeFile"); /** * Writes start info to file in temporary directory. * @internal */ const writeStartInfo = async (startInfo) => { const startInfoJsonString = JSON.stringify(startInfo); await (0, writeFile_1.writeFile)(internal_1.START_INFO_PATH, startInfoJsonString); }; exports.writeStartInfo = writeStartInfo;