Skip to content

BUG: spawn find ENOENT upon running Vue CLI unit test #266

Open
@tony19

Description

@tony19

Describe the bug

When running unit tests with Vue CLI, I get an error:

Error: spawn find ENOENT

This worked at some point before, but I don't recall the exact version/date or the StackBlitz link.

Link to the blitz that caused the error

https://stackblitz.com/github/moaxcp/vue-astro?file=tests%2Funit%2FApp.spec.js

Steps to reproduce

  1. Go to https://stackblitz.com/github/moaxcp/vue-astro?file=tests%2Funit%2FApp.spec.js
  2. Run yarn test:unit from the terminal
  3. Observe the error

Expected behavior

The unit tests run witthout error.

Screenshots

No response

Platform

Browser name  = Chrome 
Full version  = 91.0.4472.77
Major version = 91
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 116623231,
  "usedJSHeapSize": 112303903,
  "jsHeapSizeLimit": 4294705152
}
Hash = 548843700a830a9170c7b4f676310f668ec52ffc

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions