Skip to content

Unable to Find Source for Spec file #109986

@alhudson

Description

@alhudson
  • VSCode Version: 1.50.1

  • OS Version: macOS

  • NodeJS Application

Unable to find the Implementation file for the applicable test when it exists. Always get `Could not load source '/Users///**/.js': Source not found.

  • Extensions installed: Docker, Debugger for Java, GitBlame, Kubernetes

  • In package.json ensure you have mocha installed plus rewire.

Steps to Reproduce

  1. Create a NodeJS application with a implementation file.

  2. Create a Spec file for the implementation.

  3. Run the spec file using Mocha and try to debug it.

Expected Result:
Able to see the implemenation file and able to step thru the file

Actual Result:
Source cannot be found but the test can pass/fail

I am able to in version 1.49.x

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions