cathedra-default-presenter
v0.0.3
Published
Default presenter for cathedra
Downloads
5
Readme
cathedra
Default presenter for cathedra
Usage
const defaultPresenter = require('cathedra-default-presenter')
const { benchmark, suite } = require('cathedra')
const benchResult = benchmark(someFunction)
const suiteResult = suite(
someFunction,
otherFunction,
thirdFunction
)
const presenter = defaultPresenter({
log: console.log.bind(console)
})
presenter(benchResult)
presenter(suiteResult)