File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/vitest-pool-workers/types Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ declare module "cloudflare:test" {
200200 waitForStatus ( status : InstanceStatus [ "status" ] ) : Promise < void > ;
201201
202202 /**
203- * Cleans up the Workflow instance's state .
203+ * Cleans up the Workflow instance.
204204 * This is crucial for ensuring test isolation by preventing state from
205205 * leaking between tests. It's best practice to call this in an `afterEach`
206206 * hook or at the end of every test.
@@ -386,6 +386,8 @@ declare module "cloudflare:test" {
386386 * await instance.waitForStatus("complete");
387387 * await instance.cleanUp();
388388 * }
389+ *
390+ * introspector.cleanUp();
389391 * });
390392 * ```
391393 */
@@ -411,7 +413,7 @@ declare module "cloudflare:test" {
411413 get ( ) : WorkflowInstanceIntrospector [ ] ;
412414
413415 /**
414- * Cleans up the Workflow introspector state .
416+ * Cleans up the Workflow introspector.
415417 * This is crucial for ensuring that the introspection of a Workflow does
416418 * not get persisted across tests.
417419 * Call this in an `afterEach` hook or at the end of every test.
You can’t perform that action at this time.
0 commit comments