Global

Type Definitions

HexoContext

Source:

A Hexo context object

Type:
  • Object

sandboxFactoryFn(options) → {Promise.<HexoContext>}

Source:
Parameters:
Name Type Description
options string | object

a string with a fixture name or a configuration object

Properties
Name Type Description
fixtureName string

a fixture name, the folder of the Hexo testing project

skipInit boolean

set to true if you don't want to initialize Hexo. Default: false

Returns:
Type
Promise.<HexoContext>