We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff95eb7 commit c771d66Copy full SHA for c771d66
doc/api/test.md
@@ -912,7 +912,7 @@ before each subtest of the current suite.
912
913
```js
914
describe('tests', async () => {
915
- beforeEach(() => t.diagnostic('about to run a test'));
+ beforeEach(() => console.log('about to run a test'));
916
it('is a subtest', () => {
917
assert.ok('some relevant assertion here');
918
});
@@ -943,7 +943,7 @@ after each subtest of the current test.
943
944
945
946
- afterEach(() => t.diagnostic('about to run a test'));
+ afterEach(() => console.log('finished running a test'));
947
948
949
0 commit comments