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
606
606
});
607
607
```
608
608
609
- ``` js
609
+ ``` cjs
610
610
const assert = require (' node:assert' );
611
611
const { mock , test } = require (' node:test' );
612
612
@@ -625,7 +625,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
625
625
// Reset the globally tracked mocks.
626
626
mock .timers .reset ();
627
627
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
629
629
mock .reset ();
630
630
});
631
631
```
@@ -653,7 +653,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
653
653
});
654
654
```
655
655
656
- ``` js
656
+ ``` cjs
657
657
const assert = require (' node:assert' );
658
658
const { test } = require (' node:test' );
659
659
You can’t perform that action at this time.
0 commit comments