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.
33 lines
892 B
33 lines
892 B
9 months ago
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`Bash installs latest: Bash 1`] = `
|
||
|
"set -e
|
||
|
eval "$(fnm env)"
|
||
|
fnm install --latest
|
||
|
(fnm ls) | grep latest || (echo "Expected output to contain latest" && exit 1)
|
||
|
fnm use 'latest'"
|
||
|
`;
|
||
|
|
||
|
exports[`Fish installs latest: Fish 1`] = `
|
||
|
"fnm env | source
|
||
|
fnm install --latest
|
||
|
begin; fnm ls; end | grep latest; or echo "Expected output to contain latest" && exit 1
|
||
|
fnm use 'latest'"
|
||
|
`;
|
||
|
|
||
|
exports[`PowerShell installs latest: PowerShell 1`] = `
|
||
|
"$ErrorActionPreference = "Stop"
|
||
|
fnm env | Out-String | Invoke-Expression
|
||
|
fnm install --latest
|
||
|
$($__out__ = $(fnm ls | Select-String latest); if ($__out__ -eq $null) { exit 1 } else { $__out__ })
|
||
|
fnm use 'latest'"
|
||
|
`;
|
||
|
|
||
|
exports[`Zsh installs latest: Zsh 1`] = `
|
||
|
"set -e
|
||
|
eval "$(fnm env)"
|
||
|
fnm install --latest
|
||
|
(fnm ls) | grep latest || (echo "Expected output to contain latest" && exit 1)
|
||
|
fnm use 'latest'"
|
||
|
`;
|