Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make this test "work" on Windows
This test was a stupid idea btw
  • Loading branch information
searls committed Feb 12, 2023
1 parent 50b7641 commit 1d06166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/replace/module/require-actual.test.js
Expand Up @@ -37,10 +37,10 @@ module.exports = {
Be sure you didn't specify the path relative to the subject under test!
First, we tried to absolutify that path and require it, with:
\`require('@@@test/unit/replace/module/lol/not/real')\`
\`require('@@@real')\`
But requiring that absolute path threw this error:
"Cannot find module '@@@test/unit/replace/module/lol/not/real'"
"Cannot find module '@@@real'"
Next, we tried to require it as you specified it (in case it's the name of
a Node.js built-in or an npm package), with:
Expand Down

0 comments on commit 1d06166

Please sign in to comment.