maty21 / mocha-sidebar

Mocha side bar viewer that allows you to run Mocha tests from side bar menu and view results can run each level hierarchy from all tests to a single test(and each describer of course)
MIT License
191 stars 61 forks source link

OUTPUT is cleared #90

Open liwb opened 6 years ago

liwb commented 6 years ago

Description

Output is cleared if choose a source file after test.

Steps to Reproduce

  1. run a test
  2. after the test is finished, click a source file content
  3. output is cleared, and shows

    
    ____________________________________________________________________________
    trying to searching for tests using these settings: 
    
    mocha path: mocha
    test files location: src/test/**/*.ts
    files to ignore: **/.git/**/*,**/node_modules/**/*
    enviromets: {}
    requires: ["ts-node/register"]
    options:  {"compilers":{"ts":"ts-node/register"},"timeout":30000}

if you find anything wrong please change those default settings


data send to parent. Exiting.

#### Expected Results
<!-- Example: No error is throw -->
Output is not cleared.

#### Actual Results
<!-- Example: Error is thrown -->
Output is cleared.

#### Settings file

<!-- Example: {

"mocha.files.glob": "test/*/.js", "mocha.sideBarOptions": { "lens": true, "decoration": true, "autoUpdateTime": 2000, "showDebugTestStatus": true } }

"mocha.files.glob": "src/test/*/.ts", "mocha.options": { "compilers": { "ts": "ts-node/register" }, "timeout": 30000 }, "mocha.requires": ["ts-node/register"], "mocha.logVerbose": true,



### Versions

- VScode: v1.23.0-insider
- Mocha SideBar: v0.17.5
- Node Version: v8.6.0

### OS version
<!-- Check all that apply -->
- [ ] Linux 
- [ ] Mac
- [x] Windows

#### Example for reproducing
<!-- path for github project -->
<!-- https://github.com/maty21/mocha-sidebar/tree/master/test/workspace -->
<!-- ...or provide your own repro URL -->
eytangro commented 5 years ago

hi, i would like to take a look at this. maybe even solve the issue.

panlina commented 5 years ago

@eytangro Did you solve it?