Coder Social home page Coder Social logo

Comments (7)

Hargne avatar Hargne commented on May 26, 2024

Hi,

Before we move on to check for bugs - did you use any of the sorting options in your configuration?

from jest-html-reporter.

SjoerdV avatar SjoerdV commented on May 26, 2024

Hi, thanks for being so fast, great module btw! Yes, titleAsc was used, so muliple test suites are ordered accordingly. The order with individual tests within one (large) testsuite is not correct at present, the order of all suites is.

from jest-html-reporter.

yuanlinZhao avatar yuanlinZhao commented on May 26, 2024

image
excuse, why my report does not have test suite ? just tests
image

from jest-html-reporter.

Hargne avatar Hargne commented on May 26, 2024

@yuanlinZhao If you mean that there is no headline for the amount of test suites, it is because there has never been one there. If you are need for that information, kindly post a separate issue stating what you need.

from jest-html-reporter.

Hargne avatar Hargne commented on May 26, 2024

Regarding the original issue:
I has been a while since I had a look at this, but I think that I have found the issue why this is happening: the tests are only sorted by testFilePath then ancestorTitles, not by the test title.

I will include a fix for this in the upcoming release of 3.0.0

from jest-html-reporter.

Hargne avatar Hargne commented on May 26, 2024

@SjoerdV If this still is relevant, you can test this feature in the new version by installing the beta version of 3.0.0:

$ yarn add --dev [email protected]

from jest-html-reporter.

Hargne avatar Hargne commented on May 26, 2024

I am closing this due to v3.0.0
Feel free to open if you still consider this an issue

from jest-html-reporter.

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.