Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Don't use the root property to determine suite root. #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 5, 2017

  1. Don't use the root property to determine suite root.

    The root property is problematic because Mocha sets it true if the
    description of a suite is the empty string. However, Mocha runs
    perfectly well with suites that have empty names. See:
    
    mochajs/mocha#2755
    
    Instead of relying on the root property, rely on whether the parent
    property is set. If not, then we are at the root.
    lddubeau committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    f7b66ee View commit details
    Browse the repository at this point in the history