AkshaySG14 / haystack-public

7 stars 0 forks source link

[Question] Is there a way to isolate a test code block? #22

Closed yongmin86k closed 2 months ago

yongmin86k commented 2 months ago

I love the editor and it really helps my coding experience.

One question about isolating the code block feature is when writing some tests.

Currently, isolating the test code scrolls to the point very far bottom. (could be a bug)

eg) env: nodejs, mocha,

describe('some tests', function() {
  it('dummy test1', function() {
    // ...
  })

  it('can isolate the test', function() {
    //
    // I would like to isolate this test block only but it is not working.
    //
  })

  it('dummy test2', function() {
    // ...
  })
})
AkshaySG14 commented 2 months ago

This looks like a bug; will fix.

AkshaySG14 commented 2 months ago

This should be fixed in the latest version on the website: 0.17! Please let me know if it is not.