replace jest with ava

This commit is contained in:
Robert Brignull 2020-05-04 18:50:13 +01:00
parent 27cc8b23fe
commit 0347b72305
11775 changed files with 84546 additions and 1440575 deletions

25
node_modules/fastq/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,25 @@
declare function fastq<C, T = any, R = any>(context: C, worker: fastq.worker<C, T, R>, concurrency: number): fastq.queue<T, R>
declare function fastq<C, T = any, R = any>(worker: fastq.worker<C, T, R>, concurrency: number): fastq.queue<T, R>
declare namespace fastq {
type worker<C, T = any, R = any> = (this: C, task: T, cb: fastq.done<R>) => void
type done<R = any> = (err: Error | null, result?: R) => void
interface queue<T = any, R = any> {
push(task: T, done: done<R>): void
unshift(task: T, done: done<R>): void
pause(): any
resume(): any
idle(): boolean
length(): number
getQueue(): T[]
kill(): any
killAndDrain(): any
concurrency: number
drain(): any
empty: () => void
saturated: () => void
}
}
export = fastq