File tree Expand file tree Collapse file tree 7 files changed +2
-115
lines changed Expand file tree Collapse file tree 7 files changed +2
-115
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11'use strict'
22
3- module . exports = {
4- ...require ( 'gulp-shared-tasks' ) ,
5- ...require ( './gulp' ) ,
6- }
3+ module . exports = require ( 'gulp-shared-tasks' )
Original file line number Diff line number Diff line change 5959 "ava" : " ^1.3.1" ,
6060 "execa" : " ^1.0.0" ,
6161 "gulp" : " ^4.0.0" ,
62- "gulp-execa" : " ^0.2.0" ,
6362 "gulp-shared-tasks" : " ^0.22.0" ,
6463 "has-ansi" : " ^3.0.0" ,
6564 "husky" : " ^1.3.1" ,
6665 "lolex" : " ^3.1.0" ,
6766 "semver" : " ^5.6.0" ,
6867 "sinon" : " ^7.2.7" ,
69- "source-map-support" : " ^0.5.11" ,
7068 "strip-ansi" : " ^5.2.0"
7169 },
7270 "engines" : {
Original file line number Diff line number Diff line change 22
33const test = require ( 'ava' )
44
5- const {
6- repeatEvents,
7- startLogging,
8- ALL_EVENTS : { all } ,
9- } = require ( './helpers' )
10-
11- test ( '[all] events emitters should not throw' , async t => {
12- const { stopLogging } = startLogging ( )
13-
14- await t . notThrowsAsync ( all )
15-
16- stopLogging ( )
17- } )
5+ const { repeatEvents, startLogging } = require ( './helpers' )
186
197repeatEvents ( ( prefix , { emitEvent } ) => {
208 test ( `${ prefix } events emitters should exist` , t => {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,19 +15,6 @@ const EVENTS = {
1515 warning,
1616}
1717
18- // Emit all process error events
19- const all = async function ( ) {
20- // eslint-disable-next-line fp/no-loops
21- for ( const emitEvent of Object . values ( EVENTS ) ) {
22- // eslint-disable-next-line no-await-in-loop
23- await emitEvent ( )
24- }
25- }
26-
27- const ALL_EVENTS = { ...EVENTS , all }
28-
2918module . exports = {
30- all,
3119 EVENTS ,
32- ALL_EVENTS ,
3320}
You can’t perform that action at this time.
0 commit comments