From 378d99eef3d1efe7c7e3376f938c59fa0924fd5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20=C4=8C=C3=A1p?= <6508800+RadekCap@users.noreply.github.com> Date: Wed, 1 May 2024 22:19:49 +0200 Subject: [PATCH] Update installation instruction to reflect Homebrew changes (#2831) * Update instalation from brew on mac * Update macos-panel.test.tsx.snap * Updated tests --------- Co-authored-by: Martijn Verburg --- src/components/InstallTabs/MacOSPanel/index.tsx | 6 +++--- .../InstallTabs/__tests__/__snapshots__/index.test.tsx.snap | 4 ++-- .../__tests__/__snapshots__/macos-panel.test.tsx.snap | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/InstallTabs/MacOSPanel/index.tsx b/src/components/InstallTabs/MacOSPanel/index.tsx index 7009d8972..db5d23f0f 100644 --- a/src/components/InstallTabs/MacOSPanel/index.tsx +++ b/src/components/InstallTabs/MacOSPanel/index.tsx @@ -28,10 +28,10 @@ export const PureMacOSPanel = (): JSX.Element => { brew tap homebrew/cask-versions
$ - brew install --cask temurin8 + brew install --cask temurin@8
$ - brew install --cask temurin{mostRecentLts} + brew install --cask temurin@{mostRecentLts}

@@ -56,4 +56,4 @@ const MacOSPanel = (): JSX.Element => { return ; }; -export default MacOSPanel; \ No newline at end of file +export default MacOSPanel; diff --git a/src/components/InstallTabs/__tests__/__snapshots__/index.test.tsx.snap b/src/components/InstallTabs/__tests__/__snapshots__/index.test.tsx.snap index 555d6a75a..89eef72b6 100644 --- a/src/components/InstallTabs/__tests__/__snapshots__/index.test.tsx.snap +++ b/src/components/InstallTabs/__tests__/__snapshots__/index.test.tsx.snap @@ -754,7 +754,7 @@ exports[`Tests for InstallTabs component > renders correctly for macOS 1`] = ` > brew install --cask - temurin8 + temurin@8
renders correctly for macOS 1`] = ` > brew install --cask - temurin + temurin@ 1 diff --git a/src/components/InstallTabs/__tests__/__snapshots__/macos-panel.test.tsx.snap b/src/components/InstallTabs/__tests__/__snapshots__/macos-panel.test.tsx.snap index 59382f578..300cba9fc 100644 --- a/src/components/InstallTabs/__tests__/__snapshots__/macos-panel.test.tsx.snap +++ b/src/components/InstallTabs/__tests__/__snapshots__/macos-panel.test.tsx.snap @@ -69,7 +69,7 @@ exports[`Tests for MacOSPanel component > renders correctly 1`] = ` > brew install --cask - temurin8 + temurin@8
renders correctly 1`] = ` > brew install --cask - temurin + temurin@ 1