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