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
641
641
});
642
642
```
643
643
644
- ``` js
644
+ ``` cjs
645
645
const assert = require (' node:assert' );
646
646
const { mock , test } = require (' node:test' );
647
647
@@ -660,7 +660,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
660
660
// Reset the globally tracked mocks.
661
661
mock .timers .reset ();
662
662
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
664
664
mock .reset ();
665
665
});
666
666
```
@@ -688,7 +688,7 @@ test('mocks setTimeout to be executed synchronously without having to actually w
688
688
});
689
689
```
690
690
691
- ``` js
691
+ ``` cjs
692
692
const assert = require (' node:assert' );
693
693
const { test } = require (' node:test' );
694
694
You can’t perform that action at this time.
0 commit comments