Skip to content

chore(deps): bump commander from 12.1.0 to 13.1.0 #1199

chore(deps): bump commander from 12.1.0 to 13.1.0

chore(deps): bump commander from 12.1.0 to 13.1.0 #1199

Triggered via pull request January 22, 2025 01:22
Status Failure
Total duration 1m 37s
Artifacts

test.yml

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

Annotations

90 errors, 3 warnings, and 9 notices
should load custom command: test/commands/custom.test.js#L24
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:24: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 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.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test/commands/ti-build.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12: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.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test/commands/ti-clean.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12: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.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test/commands/ti-config.test.js#L14
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14: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 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.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show all config settings as json: test/commands/ti-config.test.js#L32
[Error [ERR_TEST_FAILURE]: Unexpected token a in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token a in JSON at position 0 at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32: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 get all config settings matching a namespace as JSON: test/commands/ti-config.test.js#L49
[Error [ERR_TEST_FAILURE]: Unexpected token c in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token c in JSON at position 0 at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49: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 error as JSON if setting is not found: test/commands/ti-config.test.js#L88
[Error [ERR_TEST_FAILURE]: Unexpected token E in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token E in JSON at position 0 at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88: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 delete a single config setting: test/commands/ti-config.test.js#L136
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136: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: 'bar', expected: /"foo" removed/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should delete a nested config setting: test/commands/ti-config.test.js#L159
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159: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: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should error deleting without a key: test/commands/ti-config.test.js#L172
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172: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: '', expected: /Missing key of the config setting to remove/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should load custom command: test/commands/custom.test.js#L24
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:24: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' } }
should show help: test/commands/ti-build.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' } }
should show help: test/commands/ti-clean.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' } }
should show help: test/commands/ti-config.test.js#L14
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' } }
should show all config settings as json: test/commands/ti-config.test.js#L32
[Error [ERR_TEST_FAILURE]: Unexpected token 'a', "app.worksp"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'a', "app.worksp"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should get all config settings matching a namespace as JSON: test/commands/ti-config.test.js#L49
[Error [ERR_TEST_FAILURE]: Unexpected token 'c', "cli.colors"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'c', "cli.colors"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should error as JSON if setting is not found: test/commands/ti-config.test.js#L88
[Error [ERR_TEST_FAILURE]: Unexpected token 'E', "Error: Key"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'E', "Error: Key"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should delete a single config setting: test/commands/ti-config.test.js#L136
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'bar', expected: /"foo" removed/, operator: 'match' } }
should delete a nested config setting: test/commands/ti-config.test.js#L159
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' } }
should error deleting without a key: test/commands/ti-config.test.js#L172
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: /Missing key of the config setting to remove/, operator: 'match' } }
should load custom command: test/commands/custom.test.js#L24
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:24: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' } }
should show help: test/commands/ti-build.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' } }
should show help: test/commands/ti-clean.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' } }
should show help: test/commands/ti-config.test.js#L14
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' } }
should show all config settings as json: test/commands/ti-config.test.js#L32
[Error [ERR_TEST_FAILURE]: Unexpected token 'a', "app.worksp"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'a', "app.worksp"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should get all config settings matching a namespace as JSON: test/commands/ti-config.test.js#L49
[Error [ERR_TEST_FAILURE]: Unexpected token 'c', "cli.colors"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'c', "cli.colors"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should error as JSON if setting is not found: test/commands/ti-config.test.js#L88
[Error [ERR_TEST_FAILURE]: Unexpected token 'E', "Error: Key"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'E', "Error: Key"... is not valid JSON at JSON.parse (<anonymous>) at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should delete a single config setting: test/commands/ti-config.test.js#L136
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'bar', expected: /"foo" removed/, operator: 'match' } }
should delete a nested config setting: test/commands/ti-config.test.js#L159
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' } }
should error deleting without a key: test/commands/ti-config.test.js#L172
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///home/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: /Missing key of the config setting to remove/, operator: 'match' } }
should load custom command: test/commands/custom.test.js#L24
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:24: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 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.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test/commands/ti-build.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12: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.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test/commands/ti-clean.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12: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.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test/commands/ti-config.test.js#L14
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14: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 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.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show all config settings as json: test/commands/ti-config.test.js#L32
[Error [ERR_TEST_FAILURE]: Unexpected token a in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token a in JSON at position 0 at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32: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 get all config settings matching a namespace as JSON: test/commands/ti-config.test.js#L49
[Error [ERR_TEST_FAILURE]: Unexpected token c in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token c in JSON at position 0 at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49: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 error as JSON if setting is not found: test/commands/ti-config.test.js#L88
[Error [ERR_TEST_FAILURE]: Unexpected token E in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token E in JSON at position 0 at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88: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 delete a single config setting: test/commands/ti-config.test.js#L136
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136: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: 'bar', expected: /"foo" removed/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should delete a nested config setting: test/commands/ti-config.test.js#L159
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159: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: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should error deleting without a key: test/commands/ti-config.test.js#L172
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172: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: '', expected: /Missing key of the config setting to remove/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should load custom command: test/commands/custom.test.js#L24
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:24: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' } }
should show help: test/commands/ti-build.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' } }
should show help: test/commands/ti-clean.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' } }
should show help: test/commands/ti-config.test.js#L14
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14: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:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' } }
should show all config settings as json: test/commands/ti-config.test.js#L32
[Error [ERR_TEST_FAILURE]: Unexpected token 'a', "app.worksp"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'a', "app.worksp"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should get all config settings matching a namespace as JSON: test/commands/ti-config.test.js#L49
[Error [ERR_TEST_FAILURE]: Unexpected token 'c', "cli.colors"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'c', "cli.colors"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should error as JSON if setting is not found: test/commands/ti-config.test.js#L88
[Error [ERR_TEST_FAILURE]: Unexpected token 'E', "Error: Key"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'E', "Error: Key"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should delete a single config setting: test/commands/ti-config.test.js#L136
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'bar', expected: /"foo" removed/, operator: 'match' } }
should delete a nested config setting: test/commands/ti-config.test.js#L159
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' } }
should error deleting without a key: test/commands/ti-config.test.js#L172
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172: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:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: /Missing key of the config setting to remove/, operator: 'match' } }
should load custom command: test\commands\custom.test.js#L11
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/custom.test.js:24:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' } }
should show help: test\commands\ti-build.test.js#L7
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' } }
should show help: test\commands\ti-clean.test.js#L7
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' } }
should show help: test\commands\ti-config.test.js#L9
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1135:7) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' } }
should show all config settings as json: test\commands\ti-config.test.js#L29
[Error [ERR_TEST_FAILURE]: Unexpected token 'a', "app.worksp"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'a', "app.worksp"... is not valid JSON at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should get all config settings matching a namespace as JSON: test\commands\ti-config.test.js#L46
[Error [ERR_TEST_FAILURE]: Unexpected token 'c', "cli.colors"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'c', "cli.colors"... is not valid JSON at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should error as JSON if setting is not found: test\commands\ti-config.test.js#L85
[Error [ERR_TEST_FAILURE]: Unexpected token 'E', "Error: Key"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'E', "Error: Key"... is not valid JSON at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) }
should delete a single config setting: test\commands\ti-config.test.js#L122
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'bar', expected: /"foo" removed/, operator: 'match' } }
should delete a nested config setting: test\commands\ti-config.test.js#L145
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' } }
should error deleting without a key: test\commands\ti-config.test.js#L168
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: /Missing key of the config setting to remove/, operator: 'match' } }
should load custom command: test\commands\custom.test.js#L11
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/custom.test.js:24:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test\commands\ti-build.test.js#L7
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///D:/a/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.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test\commands\ti-clean.test.js#L7
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///D:/a/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.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show help: test\commands\ti-config.test.js#L9
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should show all config settings as json: test\commands\ti-config.test.js#L29
[Error [ERR_TEST_FAILURE]: Unexpected token a in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token a in JSON at position 0 at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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 get all config settings matching a namespace as JSON: test\commands\ti-config.test.js#L46
[Error [ERR_TEST_FAILURE]: Unexpected token c in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token c in JSON at position 0 at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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 error as JSON if setting is not found: test\commands\ti-config.test.js#L85
[Error [ERR_TEST_FAILURE]: Unexpected token E in JSON at position 0] { failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token E in JSON at position 0 at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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 delete a single config setting: test\commands\ti-config.test.js#L122
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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: 'bar', expected: /"foo" removed/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should delete a nested config setting: test\commands\ti-config.test.js#L145
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should error deleting without a key: test\commands\ti-config.test.js#L168
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/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: '', expected: /Missing key of the config setting to remove/, operator: 'match' }, code: 'ERR_TEST_FAILURE' }
should load custom command: test/commands/custom.test.js#L24
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/custom.test.js:24: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' } }
should show help: test/commands/ti-build.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' } }
should show help: test/commands/ti-clean.test.js#L12
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' } }
should show help: test/commands/ti-config.test.js#L14
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14: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:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' } }
should show all config settings as json: test/commands/ti-config.test.js#L32
[Error [ERR_TEST_FAILURE]: Unexpected token 'a', "app.worksp"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'a', "app.worksp"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should get all config settings matching a namespace as JSON: test/commands/ti-config.test.js#L49
[Error [ERR_TEST_FAILURE]: Unexpected token 'c', "cli.colors"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'c', "cli.colors"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should error as JSON if setting is not found: test/commands/ti-config.test.js#L88
[Error [ERR_TEST_FAILURE]: Unexpected token 'E', "Error: Key"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'E', "Error: Key"... is not valid JSON at JSON.parse (<anonymous>) at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should delete a single config setting: test/commands/ti-config.test.js#L136
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'bar', expected: /"foo" removed/, operator: 'match' } }
should delete a nested config setting: test/commands/ti-config.test.js#L159
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' } }
should error deleting without a key: test/commands/ti-config.test.js#L172
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///Users/runner/work/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172: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:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: /Missing key of the config setting to remove/, operator: 'match' } }
should load custom command: test\commands\custom.test.js#L11
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/custom.test.js:24:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium/, operator: 'match' } }
should show help: test\commands\ti-build.test.js#L7
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium build \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-build.test.js:12:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium build \[options\]/, operator: 'match' } }
should show help: test\commands\ti-clean.test.js#L7
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium clean \[options\]/. Input: 'Titanium Command-Line Interface v7.1.5 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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-clean.test.js:12:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-sdk-home.js:23:4 at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5 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', expected: /Usage: titanium clean \[options\]/, operator: 'match' } }
should show help: test\commands\ti-config.test.js#L9
Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Usage: titanium config \[options\] \[key\] \[value\]/. Input: 'Titanium Command-Line Interface v7.1.5\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' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:14:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1217:7) at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Titanium Command-Line Interface v7.1.5\nCopyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.\n\nWant to help? https://tidev.io/donate or https://tidev.io/contribute\n', expected: /Usage: titanium config \[options\] \[key\] \[value\]/, operator: 'match' } }
should show all config settings as json: test\commands\ti-config.test.js#L29
[Error [ERR_TEST_FAILURE]: Unexpected token 'a', "app.worksp"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'a', "app.worksp"... is not valid JSON at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:32:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should get all config settings matching a namespace as JSON: test\commands\ti-config.test.js#L46
[Error [ERR_TEST_FAILURE]: Unexpected token 'c', "cli.colors"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'c', "cli.colors"... is not valid JSON at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:49:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should error as JSON if setting is not found: test\commands\ti-config.test.js#L85
[Error [ERR_TEST_FAILURE]: Unexpected token 'E', "Error: Key"... is not valid JSON] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: SyntaxError [Error]: Unexpected token 'E', "Error: Key"... is not valid JSON at JSON.parse (<anonymous>) at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:88:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) }
should delete a single config setting: test\commands\ti-config.test.js#L122
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'bar' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'bar' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:136:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'bar', expected: /"foo" removed/, operator: 'match' } }
should delete a nested config setting: test\commands\ti-config.test.js#L145
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"foo" removed/. Input: 'foo.bar = "baz"' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:159:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'foo.bar = "baz"', expected: /"foo" removed/, operator: 'match' } }
should error deleting without a key: test\commands\ti-config.test.js#L168
[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing key of the config setting to remove/. Input: '' at file:///D:/a/titanium-cli/titanium-cli/test/commands/ti-config.test.js:172:10 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (file:///D:/a/titanium-cli/titanium-cli/test/helpers/init-cli.js:21:11) at async Test.run (node:internal/test_runner/test:857:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:565:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: /Missing key of the config setting to remove/, operator: 'match' } }
Test on node 18 and ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test on node 20 and ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test on node 22.5.1 and ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test on node 18 and ubuntu-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 102 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 14062.225ms
Test on node 20 and ubuntu-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 102 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 13122.261ms
Test on node 22.5.1 and ubuntu-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 102 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 13230.914ms
Test on node 18 and macOS-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 102 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 14582.133ms
Test on node 20 and macOS-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 102 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 22399.730ms
Test on node 20 and windows-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 103 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 23546.039ms
Test on node 18 and windows-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 103 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 27101.169ms
Test on node 22.5.1 and macOS-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 102 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 22524.902ms
Test on node 22.5.1 and windows-latest
Total Tests: 138 Suites πŸ“‚: 46 Passed βœ…: 103 Failed ❌: 35 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 22299.299ms