Add support for paths.commands
#756
Annotations
10 errors and 1 notice
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
|
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
|
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'
}
|
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'
}
|
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'
}
|
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'
}
|
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*
|
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'
}
|
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
|
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_
|
|
The logs for this run have expired and are no longer available.
Loading