Giter Site home page Giter Site logo

Comments (3)

skiadas avatar skiadas commented on July 30, 2024 3

Answering my second question and as a workaround, following the vitest docs we can conditionally check if we are in vitest mode by checking for process.env.VITEST == 'test' || process.env.VITEST == 'benchmark'.

But I feel there is room for improvement here. Since npx vitest runs fine with the https: true setting, it falls on the VSCode extension to either account for/allow the setting, or provide a better error message, rather than simply infinitely looping.

from vscode.

RodrigoRoaRodriguez avatar RodrigoRoaRodriguez commented on July 30, 2024 3

I have now verified that adding server: { https: true } does break reporting of test results to the extension. Furthermore, I have discovered that other server settings also break this extension, like for example server: { port: 3000 }. So it appears this extension does not currently support any projects with server settings.

from vscode.

MilanKovacic avatar MilanKovacic commented on July 30, 2024

We are tracking this issue in #226.

from vscode.

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.