Skip to content

Commit

Permalink
Remove gulp run tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 21, 2019
1 parent bfc4df2 commit 6a69ea9
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 115 deletions.
5 changes: 0 additions & 5 deletions gulp/index.js

This file was deleted.

43 changes: 0 additions & 43 deletions gulp/run.js

This file was deleted.

5 changes: 1 addition & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
'use strict'

module.exports = {
...require('gulp-shared-tasks'),
...require('./gulp'),
}
module.exports = require('gulp-shared-tasks')
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@
"ava": "^1.3.1",
"execa": "^1.0.0",
"gulp": "^4.0.0",
"gulp-execa": "^0.2.0",
"gulp-shared-tasks": "^0.22.0",
"has-ansi": "^3.0.0",
"husky": "^1.3.1",
"lolex": "^3.1.0",
"semver": "^5.6.0",
"sinon": "^7.2.7",
"source-map-support": "^0.5.11",
"strip-ansi": "^5.2.0"
},
"engines": {
Expand Down
14 changes: 1 addition & 13 deletions test/emit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,7 @@

const test = require('ava')

const {
repeatEvents,
startLogging,
ALL_EVENTS: { all },
} = require('./helpers')

test('[all] events emitters should not throw', async t => {
const { stopLogging } = startLogging()

await t.notThrowsAsync(all)

stopLogging()
})
const { repeatEvents, startLogging } = require('./helpers')

repeatEvents((prefix, { emitEvent }) => {
test(`${prefix} events emitters should exist`, t => {
Expand Down
35 changes: 0 additions & 35 deletions test/helpers/emit/fire.js

This file was deleted.

13 changes: 0 additions & 13 deletions test/helpers/emit/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ const EVENTS = {
warning,
}

// Emit all process error events
const all = async function() {
// eslint-disable-next-line fp/no-loops
for (const emitEvent of Object.values(EVENTS)) {
// eslint-disable-next-line no-await-in-loop
await emitEvent()
}
}

const ALL_EVENTS = { ...EVENTS, all }

module.exports = {
all,
EVENTS,
ALL_EVENTS,
}

0 comments on commit 6a69ea9

Please sign in to comment.