From 013da32ba1df25200383e8c04a537b3b829f0f9a Mon Sep 17 00:00:00 2001 From: Jan Keith Darunday Date: Thu, 12 Sep 2024 12:01:06 +0800 Subject: [PATCH] Remove platformDir since we now have tests running with staged localdev --- test/05-commands.test.js | 141 +++++++++++++++++++-------------------- 1 file changed, 70 insertions(+), 71 deletions(-) diff --git a/test/05-commands.test.js b/test/05-commands.test.js index 87fe0d2e9..8fc7ae861 100644 --- a/test/05-commands.test.js +++ b/test/05-commands.test.js @@ -8,8 +8,7 @@ const minimal = path.join(Helper.root, 'test', 'fixtures', 'minimal') class Rig { setup = async ({ comment, timeout }) => { timeout(180000) - this.platformDir = path.join(Helper.root, 'pear') - const helper = new Helper({ platformDir: this.platformDir }) + const helper = new Helper() this.helper = helper comment('connecting local sidecar') @@ -22,7 +21,7 @@ class Rig { const testId = Math.floor(Math.random() * 100000) const relativePath = path.relative(harness, minimal) const argvInit = ['stage', '--json', 'test-' + testId, relativePath] - const stager = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const stager = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) await stager.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argvInit)}) `, { returnByValue: false }) @@ -202,7 +201,7 @@ test('pear info ', async function ({ plan, is }) { const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -232,7 +231,7 @@ test('pear info --json ', async function ({ plan, alike const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -260,7 +259,7 @@ test('pear info --changelog ', async function ({ plan, const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -290,7 +289,7 @@ test('pear info --changelog --json ', async function ({ const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -318,7 +317,7 @@ test('pear info --changelog --metadata ', async functio const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -348,7 +347,7 @@ test('pear info --changelog --metadata --json ', async const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -376,7 +375,7 @@ test('pear info --changelog --key ', async function ({ const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -406,7 +405,7 @@ test('pear info --changelog --key --json ', async funct const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--key', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -434,7 +433,7 @@ test('pear info --changelog --metadata --key ', async f const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', '--key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -464,7 +463,7 @@ test('pear info --changelog --metadata --key --json ', const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', '--key', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -492,7 +491,7 @@ test('pear info --full-changelog ', async function ({ p const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -522,7 +521,7 @@ test('pear info --full-changelog --metadata ', async fu const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', '--metadata', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -552,7 +551,7 @@ test('pear info --full-changelog --metadata --json ', a const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', '--metadata', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -580,7 +579,7 @@ test('pear info --full-changelog --metadata --key ', as const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', '--metadata', '--key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -610,7 +609,7 @@ test('pear info --full-changelog --metadata --key --json ', async function ({ plan, i const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--metadata', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -670,7 +669,7 @@ test('pear info --metadata --key ', async function ({ p const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--metadata', '--key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -700,7 +699,7 @@ test('pear info --metadata --key --json ', async functi const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--metadata', '--key', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -728,7 +727,7 @@ test('pear info --key ', async function ({ plan, is }) const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -758,7 +757,7 @@ test('pear info --key --json ', async function ({ plan, const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--key', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -785,7 +784,7 @@ test('pear info pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -814,7 +813,7 @@ test('pear info --json pear://', async function ({ plan, alike, is }) { plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -841,7 +840,7 @@ test('pear info --changelog pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -870,7 +869,7 @@ test('pear info --changelog --json pear://', async function ({ plan, alike, plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -897,7 +896,7 @@ test('pear info --changelog --metadata pear://', async function ({ plan, is plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -926,7 +925,7 @@ test('pear info --changelog --metadata --json pear://', async function ({ p plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -953,7 +952,7 @@ test('pear info --changelog --key pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -982,7 +981,7 @@ test('pear info --changelog --key --json pear://', async function ({ plan, plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1009,7 +1008,7 @@ test('pear info --changelog --metadata --key pear://', async function ({ pl plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', '--key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1038,7 +1037,7 @@ test('pear info --changelog --metadata --key --json pear://', async functio plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--changelog', '--metadata', '--key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1065,7 +1064,7 @@ test('pear info --full-changelog pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1094,7 +1093,7 @@ test('pear info --full-changelog --metadata pear://', async function ({ pla plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', '--metadata', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1123,7 +1122,7 @@ test('pear info --full-changelog --metadata --json pear://', async function plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', '--metadata', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1150,7 +1149,7 @@ test('pear info --full-changelog --metadata --key pear://', async function plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', '--metadata', '--key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1179,7 +1178,7 @@ test('pear info --full-changelog --metadata --key --json pear://', async fu plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--full-changelog', '--metadata', '--key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1206,7 +1205,7 @@ test('pear info --metadata pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--metadata', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1235,7 +1234,7 @@ test('pear info --metadata --key pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--metadata', '--key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1264,7 +1263,7 @@ test('pear info --metadata --key --json pear://', async function ({ plan, a plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--metadata', '--key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1291,7 +1290,7 @@ test('pear info --key pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1320,7 +1319,7 @@ test('pear info --key --json pear://', async function ({ plan, alike, is }) plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1348,7 +1347,7 @@ test('pear info --no-changelog ', async function ({ pla const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1378,7 +1377,7 @@ test('pear info --no-changelog --json ', async function const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1406,7 +1405,7 @@ test('pear info --no-metadata ', async function ({ plan const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-metadata', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1436,7 +1435,7 @@ test('pear info --no-metadata --json ', async function const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-metadata', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1464,7 +1463,7 @@ test('pear info --no-key ', async function ({ plan, is const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1494,7 +1493,7 @@ test('pear info --no-key --json ', async function ({ pl const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1522,7 +1521,7 @@ test('pear info --no-changelog --no-metadata ', async f const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-metadata', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1552,7 +1551,7 @@ test('pear info --no-changelog --no-metadata --json ', const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-metadata', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1580,7 +1579,7 @@ test('pear info --no-changelog --no-key ', async functi const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1610,7 +1609,7 @@ test('pear info --no-changelog --no-key --json ', async const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-key', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1638,7 +1637,7 @@ test('pear info --no-key --no-metadata ', async functio const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', '--no-metadata', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1668,7 +1667,7 @@ test('pear info --no-key --no-metadata --json ', async const { channel } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', '--no-metadata', '--json', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1696,7 +1695,7 @@ test('pear info --no-changelog --no-metadata --no-key ' const { channel, link } = await rig.getOrCreateInfoInstance() const relativePath = path.relative(harness, minimal) - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-metadata', '--no-key', channel, relativePath] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1726,7 +1725,7 @@ test('pear info --no-changelog --no-metadata --no-key --json ', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1782,7 +1781,7 @@ test('pear info --no-changelog --json pear://', async function ({ plan, ali plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1809,7 +1808,7 @@ test('pear info --no-metadata pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-metadata', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1838,7 +1837,7 @@ test('pear info --no-metadata --json pear://', async function ({ plan, alik plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-metadata', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1865,7 +1864,7 @@ test('pear info --no-key pear://', async function ({ plan, is }) { plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1894,7 +1893,7 @@ test('pear info --no-key --json pear://', async function ({ plan, alike, is plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1921,7 +1920,7 @@ test('pear info --no-changelog --no-metadata pear://', async function ({ pl plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-metadata', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1950,7 +1949,7 @@ test('pear info --no-changelog --no-metadata --json pear://', async functio plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-metadata', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -1977,7 +1976,7 @@ test('pear info --no-changelog --no-key pear://', async function ({ plan, i plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -2006,7 +2005,7 @@ test('pear info --no-changelog --no-key --json pear://', async function ({ plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -2033,7 +2032,7 @@ test('pear info --no-key --no-metadata pear://', async function ({ plan, is plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', '--no-metadata', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -2062,7 +2061,7 @@ test('pear info --no-key --no-metadata --json pear://', async function ({ p plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-key', '--no-metadata', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -2089,7 +2088,7 @@ test('pear info --no-changelog --no-metadata --no-key pear://', async funct plan(3) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-metadata', '--no-key', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)}) @@ -2118,7 +2117,7 @@ test('pear info --no-changelog --no-metadata --no-key --json pear://', asyn plan(1) const { link } = await rig.getOrCreateInfoInstance() - const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true, platformDir: rig.platformDir }) + const running = await Helper.open(harness, { tags: ['exit'] }, { lineout: true }) const argv = ['info', '--no-changelog', '--no-metadata', '--no-key', '--json', link] await running.inspector.evaluate(` __PEAR_TEST__.command(${JSON.stringify(argv)})