1.0.0 • Published 7 years ago
zarathustra v1.0.0
@zoroaster/zarathustra
@zoroaster/zarathustra is A serverless test runner.
yarn add -E @zoroaster/zarathustraTable Of Contents
API
The package is available by importing its default function:
import zarathustra from '@zoroaster/zarathustra'zarathustra( arg1: string, arg2?: boolean,): void
Call this function to get the result you want.
Config: Options for the program.
| Name | Type | Description | Default |
|---|---|---|---|
| shouldRun | boolean | A boolean option. | true |
| text* | string | A text to return. | - |
/* yarn example/ */
import zarathustra from '@zoroaster/zarathustra'
(async () => {
const res = await zarathustra({
text: 'example',
})
console.log(res)
})()exampleCopyright
(c) Context Testing 2018
1.0.0
7 years ago