Skip to content

Cannot debug unit tests with HMR #251

@endarova

Description

@endarova
  • CLI: 5.3.2
  • VSCode extension: Build version: v.2019.3.27.1

When running test command with hmr breakpoints in unit tests are not hit and you cannot debug them.

Steps:

  1. tns create Myapp --ng
  2. Create nsconfig.json with "useLegacyWorkflow": false in it
  3. tns test init --framework mocha
  4. In VSCode set breakpoints in example.ts file
  5. In VSCode start Test on Android or iOS
  6. Try to debug and hit the breakpoints in the test file

Result: Breakpoints in the test file are never hit.
Expected: Debugger to stop on the breakpoints in the test file.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions