Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041import { describe, expect, it, } from '@monochromatic-dev/module-test/ts';
import { buildCommand, } from '../dist/final/node/launch.mjs';
//region Configured terminal arguments
await describe({ name: buildCommand.name, children: ['--gtk-single-instance=false', '--gtk-single-instance=true', '--gtk-single-instance', '--gtk-single-instance-extra=kept', '--unrelated=value with spaces',].map(function configuredFlag(flag,) { return it({ name: `preserves configured Exec token ${flag}`, fn: async () => { expect(buildCommand({ terminal: { entryId: 'fixture.desktop', execTokens: ['/fixture/terminal', flag,], execArg: '-e', appIdArg: '', titleArg: '--title=', dirArg: '--working-directory=', holdArg: '', }, options: { appId: '', title: 'Question', dir: '/fixture/with spaces', hold: false, command: ['node', '--eval', 'a; b',], }, },),).toEqual([ '/fixture/terminal', flag, '--title=Question', '--working-directory=/fixture/with spaces', '-e', 'node', '--eval', 'a; b', ],); }, },); },),},);
//endregion Configured terminal arguments