Skip to content

hermione/v8.8.1

Compare
Choose a tag to compare
@DudaGod DudaGod released this 05 Apr 13:29
· 180 commits to master since this release

🐛 Bug fixes

  • fix: do not remove spaces in runnable title (#897)

We have to account for user spaces in test titles.

For example:

describe(' foo ', () => {
  it('bar ', () => {});
});

In hermione@6 fullTitle for this test was foo bar (with two spaces between foo, bar and one space at the beginning and end). Starting from the version hermione@7 behaviour was changed and fullTitle looks like foo bar (with only one space between foo, bar and without spaces at the beginning and end). So we return the previous behavior.