Giter Club home page Giter Club logo

Comments (7)

roggenbrot avatar roggenbrot commented on May 26, 2024 1

from testify.

felixjb avatar felixjb commented on May 26, 2024

Hey @roggenbrot can you help me with this?

from testify.

roggenbrot avatar roggenbrot commented on May 26, 2024

from testify.

roggenbrot avatar roggenbrot commented on May 26, 2024

from testify.

roggenbrot avatar roggenbrot commented on May 26, 2024

from testify.

felixjb avatar felixjb commented on May 26, 2024

@roggenbrot I ended up not looking much into it but now I'm back. The problem is: I don't have a Windows setup to reproduce this bug =/

Also, there is another issue #53 that seems to be related to this one.

Can you help me with this one?

from testify.

matteopic avatar matteopic commented on May 26, 2024

I have the same issue with jest on node 16.14.12.

When I click on "Run Test", following command is invoked

node_modules\.bin\jest App.test.ts --testNamePattern="Binance"

When i click on "Debug Test", following command is invoked

cmd /C "set "NODE_ENV=test" && set "NODE_OPTIONS=--require "c:/Program Files/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" --inspect-publish-uid=http" && set "VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"\\\\.\\pipe\\node-cdp.17492-6.sock","deferredMode":false,"waitForDebugger":"","execPath":"C:\\Program Files\\nodejs\\node.exe","onlyEntrypoint":false,"autoAttachMode":"always","fileCallback":"C:\\Users\\MATTEO~1.PIC\\AppData\\Local\\Temp\\node-debug-callback-46e3eb920ccac4a0"}" && "C:\Program Files\nodejs\node.exe" .\node_modules\.bin\jest App.test.ts --testNamePattern Binance --runInBand "" "

In the first case launching node_modules\.bin\jest in the console, cause windows to actually start node_modules\.bin\jest.cmd and the process will execute successfully.

In the second case at the end of the command appears this strange combination "C:\Program Files\nodejs\node.exe" .\node_modules\.bin\jest.
.\node_modules\.bin\jest file is passed to nodejs runtime but it is not a javascript file, it is a linux shell script. Nodejs is not able to process that file.

from testify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.