インターフェイス: コンフィギュレーション

コンフィギュレーション

メンバー

alwaysListPendingSpecs :boolean|undefined

たとえ失敗があっても、デフォルトのレポーターで保留中のスペックをリストするかどうか。

タイプ
  • boolean | undefined
既定値
  • true

failSpecWithNoExpectations :boolean|undefined

期待値を含まないスペックを失敗させるかどうか。

タイプ
  • boolean | undefined
既定値
  • false

helpers :Array.<string>|undefined

ヘルパーファイルのパス、またはヘルパーファイルに一致するグロブの配列。各パスまたはグロブは、スペックディレクトリ相対的に評価されます。ヘルパーはスペックの前にロードされます。

タイプ
  • Array.<string> | undefined

jsLoader :string|undefined

.jsで終わるファイルを読み込む方法を指定します。有効な値は「require」と「import」です。すべての場合に「import」は安全であり、プロジェクトに.jsで終わるファイル名のESモジュールが含まれている場合は必要です。

タイプ
  • string | undefined
既定値
  • "require"

random :boolean|undefined

スペックをランダムな順番で実行するかどうか。

タイプ
  • boolean | undefined
既定値
  • true

requires :Array.<string>|undefined

実行開始時にrequire()を介してロードするモジュール名の配列。

タイプ
  • Array.<string> | undefined

spec_dir :string|undefined

プロジェクトのベースディレクトリ相対的にスペックファイルが含まれるディレクトリ。

タイプ
  • string | undefined

spec_files :Array.<string>|undefined

スペックファイルのパス、またはヘルパーファイルに一致するグロブの配列。各パスまたはグロブは、スペックディレクトリ相対的に評価されます。

タイプ
  • Array.<string> | undefined

stopOnSpecFailure :boolean|undefined

最初のスペックの失敗でスイートの実行を停止するかどうか。

タイプ
  • boolean | undefined
既定値
  • false

stopSpecOnExpectationFailure :boolean|undefined

最初の期待値の失敗で各スペックを停止するかどうか。

タイプ
  • boolean | undefined
既定値
  • false