This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { TestRunner } from "atom" | ||
//@ts-ignore | ||
import type { Reporter } from "jasmine" | ||
|
||
|
||
/** | ||
* Returns a Jasmine3 test runner. The returned value can be exported from your `atomTestRunner` script for Atom to | ||
* consume. Both parameters are optional. | ||
* | ||
* @param options An object specifying customized options | ||
* @param optionalConfigurationFunction If provided, atom-jasmine3-test-runner will call this function before jasmine is | ||
* started so you can do whatever you'd like with the global variables. (i.e. add custom matchers, require plugins, etc.) | ||
* @returns Returns a test runner created with the given `options` and `callback`. | ||
*/ | ||
export function createRunner(options?: RunnerOptions, optionalConfigurationFunction?: Function): TestRunner |