方法
(靜態) runSpecs(options) → {Promise.<JasmineDoneInfo>}
執行規格。
參數
名稱 | 類型 | 描述 |
---|---|---|
options |
Configuration |
傳回
套件執行完畢時,會解析為 整體結果 的承諾。
- 類型
- Promise.<JasmineDoneInfo>
(靜態) startServer(options, serverOptions) → {Promise.<undefined>}
啟動 Server
,它將透過 HTTP 提供規格和支援檔案。
參數
名稱 | 類型 | 描述 |
---|---|---|
options |
ServerCtorOptions | 用於建構伺服器的選項 |
serverOptions |
ServerStartOptions | 用於啟動伺服器的選項 |
傳回
伺服器啟動時解析的承諾。
- 類型
- Promise.<undefined>