-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require Node.js 10 and upgrade Mocha
- Loading branch information
1 parent
93e1cbc
commit 4fa531f
Showing
4 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,14 @@ | |
"description": "Run Mocha tests", | ||
"license": "MIT", | ||
"repository": "sindresorhus/gulp-mocha", | ||
"funding": "https://github.com/sponsors/sindresorhus", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "[email protected]", | ||
"url": "sindresorhus.com" | ||
"url": "https://sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
|
@@ -35,18 +36,18 @@ | |
], | ||
"dependencies": { | ||
"dargs": "^7.0.0", | ||
"execa": "^2.0.4", | ||
"mocha": "^6.2.0", | ||
"execa": "^5.0.0", | ||
"mocha": "^8.3.0", | ||
"plugin-error": "^1.0.1", | ||
"supports-color": "^7.0.0", | ||
"through2": "^3.0.1" | ||
"supports-color": "^8.1.1", | ||
"through2": "^4.0.2" | ||
}, | ||
"devDependencies": { | ||
"ava": "^2.3.0", | ||
"gulp": "^4.0.2", | ||
"p-event": "^4.1.0", | ||
"vinyl": "^2.1.0", | ||
"xo": "^0.24.0" | ||
"p-event": "^4.2.0", | ||
"vinyl": "^2.2.1", | ||
"xo": "^0.37.1" | ||
}, | ||
"peerDependencies": { | ||
"gulp": ">=4" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import test from 'ava'; | ||
import m from '../utils'; | ||
import utils from '../utils.js'; | ||
|
||
test('convertObjectToList produces a comma separated string of k=v', t => { | ||
t.is( | ||
m.convertObjectToList({key1: 'value1', key2: 'value2', key99: 'value99'}), | ||
utils.convertObjectToList({key1: 'value1', key2: 'value2', key99: 'value99'}), | ||
'key1=value1,key2=value2,key99=value99' | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters