File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ const createMultiCompiler = () => {
2626 } ] ) ;
2727} ;
2828
29- describe ( "WatchEvents" , ( ) => {
29+ describe ( "WatcherEvents" , function ( ) {
30+ this . timeout ( 10000 ) ;
3031
3132 it ( "should emit 'watch-close' when using single-compiler mode and the compiler is not running" , function ( done ) {
3233 let called = false ;
@@ -37,11 +38,11 @@ describe("WatchEvents", () => {
3738 done ( err ) ;
3839 } ) ;
3940
40- compiler . plugin ( ' watch-close' , ( ) => {
41- called = true
41+ compiler . plugin ( " watch-close" , ( ) => {
42+ called = true ;
4243 } ) ;
4344
44- compiler . plugin ( ' done' , ( ) => {
45+ compiler . plugin ( " done" , ( ) => {
4546 watcher . close ( ) ;
4647 } ) ;
4748
@@ -56,11 +57,11 @@ describe("WatchEvents", () => {
5657 done ( err ) ;
5758 } ) ;
5859
59- compiler . plugin ( ' watch-close' , ( ) => {
60- called = true
60+ compiler . plugin ( " watch-close" , ( ) => {
61+ called = true ;
6162 } ) ;
6263
63- compiler . plugin ( ' done' , ( ) => {
64+ compiler . plugin ( " done" , ( ) => {
6465 watcher . close ( ) ;
6566 } ) ;
6667
You can’t perform that action at this time.
0 commit comments