We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00aae7d commit 0caa379Copy full SHA for 0caa379
test/e2e/plugins.test.js
@@ -9,7 +9,7 @@ test.describe('Plugins', () => {
9
'mounted',
10
'beforeEach-async',
11
'beforeEach',
12
- // 'afterEach-async',
+ 'afterEach-async',
13
'afterEach',
14
'doneEach',
15
'ready',
@@ -41,13 +41,12 @@ test.describe('Plugins', () => {
41
return markdown;
42
});
43
44
- // FIXME: https://github.com/docsifyjs/docsify/issues/449
45
- // hook.afterEach(function (html, next) {
46
- // setTimeout(function () {
47
- // console.log('afterEach-async');
48
- // next(html);
49
- // }, 100);
50
- // });
+ hook.afterEach(function (html, next) {
+ setTimeout(function () {
+ console.log('afterEach-async');
+ next(html);
+ }, 100);
+ });
51
52
hook.afterEach(function (html) {
53
console.log('afterEach');
0 commit comments