You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a nested describe is skipped, its ignored line is output above and outside its parent describe, and without an indentation.
Steps to Reproduce
deno-describe-skip-order.test.ts:
import{describe,test}from'jsr:@std/testing/bdd';describe('Outer describe',()=>{describe.skip('Skipped inner describe should be inside the Outer describe and at the same indent level as the Executed one',()=>{});describe('Executed inner describe',()=>{test.skip('Skipped test is correctly indented at the same level as the Executed test',()=>{});test('Executed test',()=>{});});});
$ deno test deno-describe-skip-order.test.ts
Check ~/deno-bugs/deno-describe-skip-order.test.ts
running 2 tests from ./deno-describe-skip-order.test.ts
Skipped inner describe should be inside the Outer describe and at the same indent level as the Executed one ... ignored (0ms)
Outer describe ...
Executed inner describe ...
Skipped test is correctly indented at the same level as the Executed test ... ignored (0ms)
Executed test ... ok (1ms)
Executed inner describe ... ok (2ms)
Outer describe ... ok (3ms)
Expected behavior
The message "Skipped inner describe should be inside the Outer describe and at the same indent level as the Executed one ... ignored" should have been placed inside "Outer describe ...", and indented with two spaces.
Environment
OS: Fedora 38
deno version: 2.1.4
std version: jsr:@std/testing@^1.0.9
The text was updated successfully, but these errors were encountered:
Describe the bug
When a nested
describe
is skipped, itsignored
line is output above and outside its parentdescribe
, and without an indentation.Steps to Reproduce
deno-describe-skip-order.test.ts:
Expected behavior
The message "Skipped inner describe should be inside the Outer describe and at the same indent level as the Executed one ... ignored" should have been placed inside "Outer describe ...", and indented with two spaces.
Environment
The text was updated successfully, but these errors were encountered: