fix(transformer): correct url in error message by moonrailgun · Pull Request #13483 · jestjs/jest (original) (raw)

Conversation

@moonrailgun

Summary

in latest document. not have this path.

Test plan

image

try to trigger this error, (use old version code style)

example:

module.exports = {
  process(src, filename, config, options) {
       return 'module.exports = ' + JSON.stringify(path.basename(filename)) + ';'
  },
};

@moonrailgun

in latest document. not have this path.

SimenB

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@SimenB

@SimenB

@moonrailgun

Oh thank you for your snap update, i am annoying about how to build jest develop context.

@SimenB

@SimenB SimenB changed the titledocs: fix incorrect url fix(transformer): correct url in error message

Oct 21, 2022

@moonrailgun

@SimenB

I am learning,

To be honest, after i simple git clone -> yarn -> yarn test throw error, i am going to seek for jest document.

And then i found you help me to do this. Thanks bro.

@SimenB

git clone, yarn, yarn build, yarn test should work fine 🙂 If you have ideas on how to make our contributing docs better, I'd love to discuss. Making it easier for contributors is one of our top priorities 👍

@SimenB

@github-actions

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators

Nov 24, 2022

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Labels