Interface: Spec (original) (raw)
Home
Modules
Namespaces
Classes
Interfaces
- AsymmetricEqualityTester
- Configuration
- Reporter
- ReporterCapabilities
- Spec
- SpyStrategy
- Suite
- ThrowUnlessFailure
Global
- afterAll
- afterEach
- beforeAll
- beforeEach
- describe
- expect
- expectAsync
- fail
- fdescribe
- fit
- it
- pending
- setSpecProperty
- setSuiteProperty
- spyOn
- spyOnAllFunctions
- spyOnProperty
- throwUnless
- throwUnlessAsync
- xdescribe
- xit
Spec
Members
(readonly) description :string
The description passed to the it that created this spec.
Type:
- string
Since:
- 2.0.0
(readonly) id :string
The unique ID of this spec.
Type:
- string
Since:
- 2.0.0
Methods
getFullName() → {string}
The full description including all ancestors of this spec.
Since:
- 2.0.0
Returns:
Type
string
getPath() → {Array.}
The full path of the spec, as an array of names.
Since:
- 5.7.0
Returns:
Type
Array.