Skip to content

Commit daf7139

Browse files
fix: set correct expected message for package-manager output
CLI supports `pnpm` for package-manager and calling `tns package-manager set <invalid value>` should list all supported package managers. This is fixed in CLI, but the expected message in the tests should be fixed as well.
1 parent d919e03 commit daf7139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cli/misc/pacakge_manager_tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ def test_400_package_manager_set_wrong_value(self):
1717
result = Tns.exec_command(command='package-manager set fake')
1818
assert result.exit_code != 0, 'tns package-manager should exit with non zero exit code on fails.'
1919
assert 'fake is not a valid package manager.' in result.output, 'Wrong package manager not detected.'
20-
assert 'Only yarn or npm are supported.' in result.output, 'No message for supported managers.'
20+
assert 'Supported values are: npm, pnpm, yarn.' in result.output, 'No message for supported managers.'

0 commit comments

Comments
 (0)