File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -641,7 +641,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
641641});
642642```
643643
644- ``` js
644+ ``` cjs
645645const assert = require (' node:assert' );
646646const { mock , test } = require (' node:test' );
647647
@@ -660,7 +660,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
660660 // Reset the globally tracked mocks.
661661 mock .timers .reset ();
662662
663- // If you call reset mock instance, it'll also reset timers instance
663+ // If you call reset mock instance, it will also reset timers instance
664664 mock .reset ();
665665});
666666```
@@ -688,7 +688,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
688688});
689689```
690690
691- ``` js
691+ ``` cjs
692692const assert = require (' node:assert' );
693693const { test } = require (' node:test' );
694694
You can’t perform that action at this time.
0 commit comments