#!/bin/bash
  
if [ "${TRAVIS_OS_NAME}" == "osx" ]
  then
    brew cask install google-chrome 
    sudo Xvfb :99 -ac -screen 0 1024x768x8 &
    export CHROME_BIN="/Applications/Google Chrome.app"
    npm run test:prepare > /dev/null &
fi

#!/bin/bash
  
if [ "${RUNNER_OS}" == "macOS" ]
  then
    brew install google-chrome 
    sudo Xvfb :99 -ac -screen 0 1024x768x8 &
    export CHROME_BIN="/Applications/Google Chrome.app"
    npm run test:prepare > /dev/null &
fi

Update test setup for GitHub Actions
Update test setup for GitHub Actions

- Do the (hopefully now) correct test to check we are on macOS.
- Fix brew command-line syntax for installing google-chrome.
