Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.74 KB

File metadata and controls

65 lines (44 loc) · 1.74 KB

@zoroaster/zarathustra

npm version

@zoroaster/zarathustra is A serverless test runner.

yarn add -E @zoroaster/zarathustra

Table 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)
})()
example

Copyright

(c) Context Testing 2018