Skip to content

Fix typo

Fix typo #755

Triggered via push January 22, 2024 04:47
Status Failure
Total duration 1m 2s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 4 notices
should load custom command: test/commands/custom.test.js#L27
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:27:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/h
should show help: test/commands/ti-clean.test.js#L13
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:13:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async startSubtest (node:internal/test_runner/harness:214:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium clean [options]\n\nClean Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the di
should show all info: test/commands/ti-info.test.js#L30
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:30:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show all info as JSON: test/commands/ti-info.test.js#L43
[Error [ERR_TEST_FAILURE]: Unexpected token T in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token T in JSON at position 0 at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:43:19 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should only show "os" info: test/commands/ti-info.test.js#L70
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:70:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should only show "os" info as JSON: test/commands/ti-info.test.js#L83
[Error [ERR_TEST_FAILURE]: Unexpected token T in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token T in JSON at position 0 at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:83:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should only show "nodejs" info: test/commands/ti-info.test.js#L100
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 18.19.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 18.19.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:100:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Node.js\n\s*Node.js Version\s*
should only show "nodejs" info as JSON: test/commands/ti-info.test.js#L112
[Error [ERR_TEST_FAILURE]: Unexpected token T in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token T in JSON at position 0 at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:112:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should only show "titanium" info: test/commands/ti-info.test.js#L131
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:131:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Titanium CLI\n\s*CLI
should only show "jdk" info: test/commands/ti-info.test.js#L148
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:148:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Java Development Kit/, operator: 'match' }, code: 'ERR_TEST_
should load custom command: test/commands/custom.test.js#L27
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:27:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/tita
should show help: test/commands/ti-clean.test.js#L13
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:13:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async startSubtest (node:internal/test_runner/harness:216:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium clean [options]\n\nClean Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d,
should show all info: test/commands/ti-info.test.js#L30
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:30:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' } }
should show all info as JSON: test/commands/ti-info.test.js#L43
[Error [ERR_TEST_FAILURE]: Unexpected token 'T', "Titanium C"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'T', "Titanium C"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:43:19 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) }
should only show "os" info: test/commands/ti-info.test.js#L70
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:70:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' } }
should only show "os" info as JSON: test/commands/ti-info.test.js#L83
[Error [ERR_TEST_FAILURE]: Unexpected token 'T', "Titanium C"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'T', "Titanium C"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:83:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) }
should only show "nodejs" info: test/commands/ti-info.test.js#L100
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 20.10.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 20.10.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:100:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /No
should only show "nodejs" info as JSON: test/commands/ti-info.test.js#L112
[Error [ERR_TEST_FAILURE]: Unexpected token 'T', "Titanium C"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'T', "Titanium C"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:112:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) }
should only show "titanium" info: test/commands/ti-info.test.js#L131
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:131:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', exp
should only show "jdk" info: test/commands/ti-info.test.js#L148
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:148:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///home/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Java Development Kit/, operator: 'ma
Test on node 18 and windows-latest
Process completed with exit code 1.
Test on node 20 and windows-latest
Process completed with exit code 1.
should load custom command: test/commands/custom.test.js#L27
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:27:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/ti
should show help: test/commands/ti-clean.test.js#L13
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:13:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async startSubtest (node:internal/test_runner/harness:216:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium clean [options]\n\nClean Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -
should show all info: test/commands/ti-info.test.js#L30
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:30:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' } }
should show all info as JSON: test/commands/ti-info.test.js#L43
[Error [ERR_TEST_FAILURE]: Unexpected token 'T', "Titanium C"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'T', "Titanium C"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:43:19 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) }
should only show "os" info: test/commands/ti-info.test.js#L70
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:70:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' } }
should only show "os" info as JSON: test/commands/ti-info.test.js#L83
[Error [ERR_TEST_FAILURE]: Unexpected token 'T', "Titanium C"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'T', "Titanium C"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:83:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) }
should only show "nodejs" info: test/commands/ti-info.test.js#L100
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 20.10.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 20.10.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:100:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /
should only show "nodejs" info as JSON: test/commands/ti-info.test.js#L112
[Error [ERR_TEST_FAILURE]: Unexpected token 'T', "Titanium C"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'T', "Titanium C"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:112:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) }
should only show "titanium" info: test/commands/ti-info.test.js#L131
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:131:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', e
should only show "jdk" info: test/commands/ti-info.test.js#L148
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:148:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Java Development Kit/, operator: '
should load custom command: test/commands/custom.test.js#L27
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /an example of a custom command/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium [options] [command]\n' + '\n' + 'Commands:\n' + ' build builds a project\n' + ' clean removes previous build directories\n' + ' config get and set config options\n' + ' create creates a new project\n' + ' foo\n' + ' info display development environment information\n' + ' module displays installed Titanium modules\n' + ' project get and set tiapp.xml settings\n' + ' sdk manages installed Titanium SDKs\n' + ' setup sets up the Titanium CLI\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")\n' + ' -h, --help display help for command' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:27:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test
should show help: test/commands/ti-clean.test.js#L13
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Removes previous build directories./. Input: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium clean [options]\n' + '\n' + 'Clean Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:13:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async startSubtest (node:internal/test_runner/harness:214:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4 SDK v0.0.0.GA\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium clean [options]\n\nClean Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the
should show all info: test/commands/ti-info.test.js#L30
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:30:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show all info as JSON: test/commands/ti-info.test.js#L43
[Error [ERR_TEST_FAILURE]: Unexpected token T in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token T in JSON at position 0 at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:43:19 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should only show "os" info: test/commands/ti-info.test.js#L70
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Operating System/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:70:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Operating System/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should only show "os" info as JSON: test/commands/ti-info.test.js#L83
[Error [ERR_TEST_FAILURE]: Unexpected token T in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token T in JSON at position 0 at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:83:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should only show "nodejs" info: test/commands/ti-info.test.js#L100
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 18.19.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Node.js\n\s*Node.js Version\s*= 18.19.0/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:100:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Node.js\n\s*Node.js Version\
should only show "nodejs" info as JSON: test/commands/ti-info.test.js#L112
[Error [ERR_TEST_FAILURE]: Unexpected token T in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token T in JSON at position 0 at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:112:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should only show "titanium" info: test/commands/ti-info.test.js#L131
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Titanium CLI\n\s*CLI Version\s*= 7.0.0-beta4/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:131:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Titanium CLI\n\s*C
should only show "jdk" info: test/commands/ti-info.test.js#L148
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Java Development Kit/. Input: 'Titanium Command-Line Interface v7.0.0-beta4\n' + 'Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n' + '\n' + 'Want to help? https://tidev.io/donate or https://tidev.io/contribute\n' + '\n' + 'Usage: titanium info [options]\n' + '\n' + 'Info Options:\n' + ' -h, --help display help for command\n' + '\n' + 'Global Options:\n' + ' --no-banner disable Titanium version banner\n' + ' --no-color disable colors\n' + ' --no-progress-bars disable progress bars\n' + ' --no-prompt disable interactive prompting\n' + ' --config [json] serialized JSON string to mix into the CLI config\n' + ' --config-file [file] path to CLI config file\n' + ' --debug display CLI debug log messages\n' + ' -d, --project-dir <path> the directory containing the project\n' + ' -q, --quiet suppress all output\n' + ' -v, --version displays the current version\n' + ' -s, --sdk [version] Titanium SDK version to use (default: "latest")' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-info.test.js:148:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///Users/runner/work/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:632:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.0.0-beta4\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n\nUsage: titanium info [options]\n\nInfo Options:\n -h, --help display help for command\n\nGlobal Options:\n --no-banner disable Titanium version banner\n --no-color disable colors\n --no-progress-bars disable progress bars\n --no-prompt disable interactive prompting\n --config [json] serialized JSON string to mix into the CLI config\n --config-file [file] path to CLI config file\n --debug display CLI debug log messages\n -d, --project-dir <path> the directory containing the project\n -q, --quiet suppress all output\n -v, --version displays the current version\n -s, --sdk [version] Titanium SDK version to use (default: "latest")', expected: /Java Development Kit/, operator: 'match' }, code: 'ERR_TES
Test on node 18 and ubuntu-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 107 Failed ❌: 30 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 12848.596ms
Test on node 20 and ubuntu-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 107 Failed ❌: 30 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 14829.867ms
Test on node 20 and macOS-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 107 Failed ❌: 30 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 21872.304ms
Test on node 18 and macOS-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 107 Failed ❌: 30 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 25146.973ms