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: bdd/mod.ts
+74-17Lines changed: 74 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,65 @@ import {
6
6
itas$it,
7
7
}from"@std/testing/bdd";
8
8
9
+
/**
10
+
* Sanitization options for test cases and test suites.
11
+
* These options control Deno's test sanitizers.
12
+
*/
13
+
exportinterfaceSanitizeOptions{
14
+
/** Ensure the test case does not prematurely cause the process to exit. Defaults to true. */
15
+
sanitizeExit?: boolean;
16
+
/** Check that the number of async completed ops after the test is the same as number of dispatched ops. Defaults to true. */
17
+
sanitizeOps?: boolean;
18
+
/** Ensure the test case does not "leak" resources - ie. the resource table after the test has exactly the same contents as before the test. Defaults to true. */
0 commit comments