We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f4360 commit 6126830Copy full SHA for 6126830
doc/api/test.md
@@ -921,7 +921,7 @@ before each subtest of the current suite.
921
922
```js
923
describe('tests', async () => {
924
- beforeEach(() => t.diagnostic('about to run a test'));
+ beforeEach(() => console.log('about to run a test'));
925
it('is a subtest', () => {
926
assert.ok('some relevant assertion here');
927
});
@@ -950,7 +950,7 @@ after each subtest of the current test.
950
951
952
953
- afterEach(() => t.diagnostic('about to run a test'));
+ afterEach(() => console.log('finished running a test'));
954
955
956
0 commit comments