You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
2 years ago
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`Bash warns about an existing installation: Bash 1`] = `
|
||
|
"set -e
|
||
|
eval "$(fnm env)"
|
||
|
fnm install v8.11.3
|
||
|
(fnm install v8.11.3 2>&1) | grep 'already installed' || (echo "Expected output to contain 'already installed'" && exit 1)"
|
||
|
`;
|
||
|
|
||
|
exports[`Fish warns about an existing installation: Fish 1`] = `
|
||
|
"fnm env | source
|
||
|
fnm install v8.11.3
|
||
|
begin; fnm install v8.11.3 2>&1; end | grep 'already installed'; or echo "Expected output to contain 'already installed'" && exit 1"
|
||
|
`;
|
||
|
|
||
|
exports[`PowerShell warns about an existing installation: PowerShell 1`] = `
|
||
|
"$ErrorActionPreference = "Stop"
|
||
|
fnm env | Out-String | Invoke-Expression
|
||
|
fnm install v8.11.3
|
||
|
$($__out__ = $(fnm install v8.11.3 2>&1 | Select-String 'already installed'); if ($__out__ -eq $null) { exit 1 } else { $__out__ })"
|
||
|
`;
|
||
|
|
||
|
exports[`Zsh warns about an existing installation: Zsh 1`] = `
|
||
|
"set -e
|
||
|
eval "$(fnm env)"
|
||
|
fnm install v8.11.3
|
||
|
(fnm install v8.11.3 2>&1) | grep 'already installed' || (echo "Expected output to contain 'already installed'" && exit 1)"
|
||
|
`;
|