You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,8 +123,11 @@ All runners have the same basic interface. Supporting new hosts, transpilers, or
123
123
#### Runner(args)
124
124
Runners are constructed by passing the current configuration object.
125
125
126
+
#### Runner.prototype.needsCtrlFlow
127
+
Boolean flag indicating whether control-flow-related code should be injected during test compilation (see `Runner.prototype.compile`).
128
+
126
129
#### Runner.prototype.compile(test)
127
-
Modifies the test contents to run in the target host. By default, it will append a call to $DONE if not already present, append any the environment dependencies (eg. $DONE, $LOG, etc) found in `this.deps`, append helpers, and add "use strict" if required.
130
+
Modifies the test contents to run in the target host. By default, it will append a call to $DONE if not already present, append the appropriate environment dependencies (eg. `$DONE`, `$LOG`, `$ERROR`, etc), append helpers, and add "use strict" if required.
128
131
129
132
#### Runner.prototype.link(test)
130
133
Recursively appends helpers required in the front-matter of the test.
0 commit comments