-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ava version and related dependencies #96
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "blend-promise-utils", | ||
"version": "1.29.1", | ||
"version": "1.30.0", | ||
"author": "Blend", | ||
"license": "MIT", | ||
"homepage": "https://blend.github.io/promise-utils", | ||
|
@@ -31,17 +31,18 @@ | |
}, | ||
"ava": { | ||
"files": [ | ||
"dist/test/**/*.test.js" | ||
], | ||
"sources": [ | ||
"src/*.ts", | ||
"src/**/*.ts" | ||
"!dist/test/**/*.test.js", | ||
"!tslint.test.js" | ||
], | ||
"concurrency": 5, | ||
"verbose": true, | ||
"timeout": "10000", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this option no longer supported in ava? |
||
"failFast": false, | ||
"powerAssert": true | ||
"typescript": { | ||
"compile": false, | ||
"rewritePaths": { | ||
"test/": "dist/test/" | ||
} | ||
} | ||
}, | ||
"nyc": { | ||
"reporter": [ | ||
|
@@ -67,20 +68,22 @@ | |
] | ||
}, | ||
"devDependencies": { | ||
"@ava/typescript": "^4.1.0", | ||
"@types/lodash": "4.14.136", | ||
"@types/sinon": "7.0.13", | ||
"ava": "2.2.0", | ||
"ava": "^4.3.0", | ||
"coveralls": "3.0.4", | ||
"grunt": "1.3.0", | ||
"grunt": "1.6.1", | ||
"grunt-contrib-watch": "1.1.0", | ||
"grunt-force-task": "2.0.0", | ||
"grunt-run": "0.8.1", | ||
"lodash": "4.17.21", | ||
"nyc": "14.1.1", | ||
"prettier": "1.18.2", | ||
"nyc": "15.0.0", | ||
"prettier": "2.1.0", | ||
"sinon": "7.3.2", | ||
"tslint": "5.18.0", | ||
"source-map-support": "^0.5.21", | ||
"tslint": "5.8.0", | ||
"typedoc": "0.14.2", | ||
"typescript": "3.5.3" | ||
"typescript": "4.6.3" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ export async function delay<T>(delayTimeMs: number): Promise<void>; | |
export async function delay<T>(delayTime: any, value?: T): Promise<void | T> { | ||
return new Promise( | ||
// tslint:disable-next-line:no-any (typed by overload signatures) | ||
resolve => setTimeout(() => resolve(value), delayTime), | ||
(resolve) => setTimeout(() => resolve(value), delayTime), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. personally hate this lint change, but if you feel strongly this is the right strategy I don't really care as long as it's consistent and is handled automatically with the --fix operation |
||
); | ||
} | ||
|
||
|
@@ -29,6 +29,6 @@ export async function immediate<T>(): Promise<void>; | |
export async function immediate(value?: any) { | ||
return new Promise( | ||
// tslint:disable-next-line:no-any (typed by overload signatures) | ||
resolve => setImmediate(() => resolve(value)), | ||
(resolve) => setImmediate(() => resolve(value)), | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm very confused by this update. Doesn't this say that it's only testing files that don't satisfy these globs? I would expect this to mean that no tests are run at all.