Module: hifive/core

hifive/core

Represents and handles tests.

Source:

Classes

Hook
{ actions: Array[Future[Error, Void]] }
Signal
| TestResult: { value: Result } | Started: { value: Test } | Finished: { value: Test }
Test
| Suite: { name : String , tests : Array[Test] , beforeAll : Hook , afterAll : Hook , beforeEach : Hook , afterEach : Hook } | Case: { name : String , test : Future[Error, Void] , timeout : Maybe[<Number/ms>] , slow : Maybe[<Number/ms>] , enabled : Maybe[Case → Boolean] }

Methods

<inner> captureLogs()

Void → Void → [LogEntry]

Captures things being output in console.log.

Source: