Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/wojtekmaj/async-array-utils. A collection of array-related async utilities.
array array-methods async promise utils
Something went wrong. Try again.
1.1 kB · 44 lines
JavaScript
at yarn-2
123456789101112131415161718192021222324252627282930313233343536373839404142434445import { asyncForEach, asyncForEachStrict, asyncEvery, asyncMap, asyncMapStrict, asyncReduce, asyncSome, asyncSomeStrict,} from './index';
describe('index', () => { it('has asyncForEach exported properly', () => { expect(asyncForEach).toBeInstanceOf(Function); });
it('has asyncForEachStrict exported properly', () => { expect(asyncForEachStrict).toBeInstanceOf(Function); });
it('has asyncEvery exported properly', () => { expect(asyncEvery).toBeInstanceOf(Function); });
it('has asyncMap exported properly', () => { expect(asyncMap).toBeInstanceOf(Function); });
it('has asyncMapStrict exported properly', () => { expect(asyncMapStrict).toBeInstanceOf(Function); });
it('has asyncReduce exported properly', () => { expect(asyncReduce).toBeInstanceOf(Function); });
it('has asyncSome exported properly', () => { expect(asyncSome).toBeInstanceOf(Function); });
it('has asyncSomeStrict exported properly', () => { expect(asyncSomeStrict).toBeInstanceOf(Function); });});