Running ava spectron tests with circle ci

Hi,

I was hoping to get some help here. I am adding tests to a github repo using ava and electron.
The test passes on my local machine and on the push to the repo. But then I get a timeout error and the tests never show as run when circle ci tries to run it’s tests.
I was hoping I could get some assistance on this!
Here is a screenshot of the test timing out on circle ci

Here is the config.yml info:

version: 2
jobs:
  build:
    macos:
      xcode: '10.3.0'
    steps:
      - checkout
      - run: yarn
      - run: yarn test
      - run: yarn run dist
      - run: mv dist/*.dmg dist/Kap.dmg
      - store_artifacts:
          path: dist/Kap.dmg
workflows:
  version: 2
  build:
    jobs:
      - build:
          filters:
            tags:
              only: /.*/ # Force CircleCI to build on tags

Thank you for any help provided!