Giter Site home page Giter Site logo

Comments (4)

maty21 avatar maty21 commented on August 30, 2024 1

Ok I'll check it @rosesonfire tks for your contribution :)

from mocha-sidebar.

maty21 avatar maty21 commented on August 30, 2024

ok tks ill check it

from mocha-sidebar.

ThatBrianDude avatar ThatBrianDude commented on August 30, 2024

Actually the exact situation was this:

I had to update nodejs as the code that was being tested didnt allow for async operations.
After updating, the code was able to run without failures (previously I got the "unexpected token function" error due to having node 6 installed).
Only then did mocha-sidebar fail to refresh the test suites. Not exactly sure what was going on but thats when the refresh didnt work. But honestly I dont even know if the tests were even running or not.
I will be sure to post any update if I come across this again.

from mocha-sidebar.

rosesonfire avatar rosesonfire commented on August 30, 2024

I am using node v8.5.0. I have the same problem. The following workaround works for me.

How to reproduce:

  1. Close all open files in VScode.
  2. Exit VScode
  3. Re-open VScode. At this point the tests should be loaded into the Mocha Sidebar, but they are not. Refreshing the Mocha Sidebar doesn't load them either.

Work-around:

  1. Open a file in VScode (any file in your project)
  2. Exit VScode
  3. Re-open VScode. The tests are loaded into the Mocha Sidebar. So apparently you have to have some file(s) already open in VScode, when VScode starts.

from mocha-sidebar.

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.