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 @@ -606,7 +606,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
606606});
607607```
608608
609- ``` js
609+ ``` cjs
610610const assert = require (' node:assert' );
611611const { mock , test } = require (' node:test' );
612612
@@ -625,7 +625,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
625625 // Reset the globally tracked mocks.
626626 mock .timers .reset ();
627627
628- // If you call reset mock instance, it'll also reset timers instance
628+ // If you call reset mock instance, it will also reset timers instance
629629 mock .reset ();
630630});
631631```
@@ -653,7 +653,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
653653});
654654```
655655
656- ``` js
656+ ``` cjs
657657const assert = require (' node:assert' );
658658const { test } = require (' node:test' );
659659
You can’t perform that action at this time.
0 commit comments