Skip to content

fix apex resolution to allow for relative helper/util methodsΒ #21

@lukethacoder

Description

@lukethacoder

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. configure ./__mocks__/@salesforce/apex/MyTestController.js
  2. create ./__mocks__/@salesforce/apex/utils.js
  3. Import method from utils.js inside MyTestController.js

Expected behavior
Method should be imported correctly

Instead returns an error:

@salesforce_apex_MyTestController_getAccountById_utils.js:7 Uncaught (in promise) SyntaxError: Unexpected identifier '#utils'

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions