Skip to content

Commit 6a69ea9

Browse files
committed
Remove gulp run tasks
1 parent bfc4df2 commit 6a69ea9

File tree

7 files changed

+2
-115
lines changed

7 files changed

+2
-115
lines changed

gulp/index.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

gulp/run.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

gulpfile.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
'use strict'
22

3-
module.exports = {
4-
...require('gulp-shared-tasks'),
5-
...require('./gulp'),
6-
}
3+
module.exports = require('gulp-shared-tasks')

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,12 @@
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": {

test/emit.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,7 @@
22

33
const 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

197
repeatEvents((prefix, { emitEvent }) => {
208
test(`${prefix} events emitters should exist`, t => {

test/helpers/emit/fire.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

test/helpers/emit/main.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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-
2918
module.exports = {
30-
all,
3119
EVENTS,
32-
ALL_EVENTS,
3320
}

0 commit comments

Comments
 (0)