File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ test.describe('Plugins', () => {
9
9
'mounted' ,
10
10
'beforeEach-async' ,
11
11
'beforeEach' ,
12
- // 'afterEach-async',
12
+ 'afterEach-async' ,
13
13
'afterEach' ,
14
14
'doneEach' ,
15
15
'ready' ,
@@ -41,13 +41,12 @@ test.describe('Plugins', () => {
41
41
return markdown ;
42
42
} ) ;
43
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
- // });
44
+ hook . afterEach ( function ( html , next ) {
45
+ setTimeout ( function ( ) {
46
+ console . log ( 'afterEach-async' ) ;
47
+ next ( html ) ;
48
+ } , 100 ) ;
49
+ } ) ;
51
50
52
51
hook . afterEach ( function ( html ) {
53
52
console . log ( 'afterEach' ) ;
You can’t perform that action at this time.
0 commit comments