Giter VIP home page Giter VIP logo

Comments (6)

sheremet-va avatar sheremet-va commented on July 17, 2024

Vitest doesn't hardcode port and just calls createServer from vite. Can you provide a reproduction?

from vitest.

github-actions avatar github-actions commented on July 17, 2024

Hello @DenizUgur. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with needs reproduction will be closed if they have no activity within 3 days.

from vitest.

DenizUgur avatar DenizUgur commented on July 17, 2024

If you have existing browser test can you run the following before running the tests? If that doesn't reproduce, I'll create dedicated example.

docker run -it --rm --name nginx -p 5173:80 nginx

from vitest.

sheremet-va avatar sheremet-va commented on July 17, 2024

If you have existing browser test can you run the following before running the tests? If that doesn't reproduce, I'll create dedicated example.

docker run -it --rm --name nginx -p 5173:80 nginx

This single command requires a lot of setup to run, hardly a minimal reproduction.

from vitest.

sheremet-va avatar sheremet-va commented on July 17, 2024

Actually, I found a line where we set the default port, but it's not 5173:

from vitest.

DenizUgur avatar DenizUgur commented on July 17, 2024

This single command requires a lot of setup to run, hardly a minimal reproduction.

I'm sorry, I assumed docker was available to you. I can try to reproduce this outside docker if you like to but I've encountered this with only docker right now

from vitest.

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.