This repository provides 3 tags for each development phase of the domain model:
- callbacks based API
- association from
Playlist
toTrack
withPromise<Array<Track>>
- association from
Playlist
toTrack
withAsyncIterable<Track>>
The last implementation on point 3. takes advantage of asynchronous iterators of ECMAScript 2018.
Get started:
npm install
npm run test
To check coverage run: jest --coverage