方法
(static) runSpecs(options) → {Promise.<JasmineDoneInfo>}
執行規格。
參數
名稱 | 類型 | 說明 |
---|---|---|
options |
Configuration |
傳回
套件執行完畢後,會變成 整體結果 的 Promise 物件。
- 類型
- Promise.<JasmineDoneInfo>
(static) startServer(options, serverOptions) → {Promise.<undefined>}
開始 Server
,會透過 HTTP 提供規格和支援檔案。
參數
名稱 | 類型 | 說明 |
---|---|---|
options |
ServerCtorOptions | 用於建構伺服器 |
serverOptions |
ServerStartOptions | 用於啟動伺服器的選項 |
傳回
伺服器啟動後會解決的 Promise 物件。
- 類型
- Promise.<undefined>