Exporting environment variables Exporting CI Exporting DISPLAY Exporting NODE_VERSION Exporting NPM_AUTH_TOKEN Exporting OLONO_NPM_AUTH_TOKEN Exporting PAGER Exporting SEMAPHORE Exporting SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE Exporting SEMAPHORE_AGENT_MACHINE_OS_IMAGE Exporting SEMAPHORE_AGENT_MACHINE_TYPE Exporting SEMAPHORE_ARTIFACT_TOKEN Exporting SEMAPHORE_CACHE_BACKEND Exporting SEMAPHORE_CACHE_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_URL Exporting SEMAPHORE_CACHE_USERNAME Exporting SEMAPHORE_GIT_BRANCH Exporting SEMAPHORE_GIT_COMMITTER Exporting SEMAPHORE_GIT_COMMIT_AUTHOR Exporting SEMAPHORE_GIT_COMMIT_RANGE Exporting SEMAPHORE_GIT_DIR Exporting SEMAPHORE_GIT_PROVIDER Exporting SEMAPHORE_GIT_REF Exporting SEMAPHORE_GIT_REF_TYPE Exporting SEMAPHORE_GIT_REPO_NAME Exporting SEMAPHORE_GIT_REPO_SLUG Exporting SEMAPHORE_GIT_SHA Exporting SEMAPHORE_GIT_URL Exporting SEMAPHORE_GIT_WORKING_BRANCH Exporting SEMAPHORE_JOB_CREATION_TIME Exporting SEMAPHORE_JOB_ID Exporting SEMAPHORE_JOB_NAME Exporting SEMAPHORE_ORGANIZATION_URL Exporting SEMAPHORE_PIPELINE_0_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ID Exporting SEMAPHORE_PIPELINE_PROMOTED_BY Exporting SEMAPHORE_PIPELINE_PROMOTION Exporting SEMAPHORE_PIPELINE_RERUN Exporting SEMAPHORE_PROJECT_ID Exporting SEMAPHORE_PROJECT_NAME Exporting SEMAPHORE_TOOLBOX_METRICS_ENABLED Exporting SEMAPHORE_WORKFLOW_HOOK_SOURCE Exporting SEMAPHORE_WORKFLOW_ID Exporting SEMAPHORE_WORKFLOW_NUMBER Exporting SEMAPHORE_WORKFLOW_RERUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_API Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_HOOK Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_MANUAL_RUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE Exporting SSH_PRIVATE_KEY_PATH Exporting TERM Injecting Files Injecting /home/semaphore/.ssh/semaphore_cache_key with file mode 0600 Injecting /home/semaphore/.ssh/id_rsa with file mode 0600 Injecting /home/semaphore/.npmrc with file mode 0644 Running the pre-job hook configured in the agent Running: source /opt/semaphoreci/prejob/pre_job.sh Warning: The agent is configured to fail the job if the pre-job hook fails. Installing toolbox in pre-job-hook Toolbox download URL: http://packages.semaphoreci.com/toolbox/releases/download/v1.20.9/linux.tar Tar file: linux.tar Attempt 5 toolbox/ toolbox/toolbox toolbox/libcheckout toolbox/install-package toolbox/retry toolbox/sem-install toolbox/sem-semantic-release toolbox/sem-dockerize toolbox/install-toolbox toolbox/README.md toolbox/Dockerfile.dev toolbox/enetwork toolbox/ssh-session-cli toolbox/when toolbox/artifact toolbox/system-metrics-collector toolbox/spc toolbox/cache toolbox/sem-service toolbox/sem-version toolbox/libchecksum toolbox/sem-service-check-params toolbox/sem-context toolbox/test-results retry installed ssh-session-cli installed cache installed sem-context installed sem-service installed sem-dockerize installed sem-service-check-params installed sem-semantic-release installed Installing the artifacts CLI artifacts installed Installing the test results CLI test-results installed Installing the install-package for linux install-package installed Installing the SPC CLI spc installed Installing the when CLI when installed Installing the enetwork CLI enetwork installed Starting to collect System Metrics in /tmp/system-metrics Starting virtual X frame buffer: Xvfb. Toolbox installed Starting ssh-agent Agent pid 2984 ssh-agent started Connecting to cache # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key) sem-version node $NODE_VERSION [23:37 06/09/2023]: Changing 'node' to version 14 Downloading and installing node v14.21.3... Downloading http://nodejs.semaphoreci.com/dist/v14.21.3/node-v14.21.3-linux-x64.tar.xz... ################################## 47.7% ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! Now using node v14.21.3 (npm v6.14.18) Now using node v14.21.3 (npm v6.14.18) /home/semaphore/.nvm/versions/node/v14.21.3/bin/grunt -> /home/semaphore/.nvm/versions/node/v14.21.3/lib/node_modules/grunt-cli/bin/grunt + grunt-cli@1.4.3 added 59 packages from 71 contributors in 3.037s [23:37 06/09/2023]: Switch successful. checkout Performing shallow clone with depth: 50 Cloning into 'await-the'... Warning: Permanently added 'github.com,140.82.121.4' (ECDSA) to the list of known hosts. remote: Enumerating objects: 583, done. remote: Counting objects: 0% (1/583) remote: Counting objects: 1% (6/583) remote: Counting objects: 2% (12/583) remote: Counting objects: 3% (18/583) remote: Counting objects: 4% (24/583) remote: Counting objects: 5% (30/583) remote: Counting objects: 6% (35/583) remote: Counting objects: 7% (41/583) remote: Counting objects: 8% (47/583) remote: Counting objects: 9% (53/583) remote: Counting objects: 10% (59/583) remote: Counting objects: 11% (65/583) remote: Counting objects: 12% (70/583) remote: Counting objects: 13% (76/583) remote: Counting objects: 14% (82/583) remote: Counting objects: 15% (88/583) remote: Counting objects: 16% (94/583) remote: Counting objects: 17% (100/583) remote: Counting objects: 18% (105/583) remote: Counting objects: 19% (111/583) remote: Counting objects: 20% (117/583) remote: Counting objects: 21% (123/583) remote: Counting objects: 22% (129/583) remote: Counting objects: 23% (135/583) remote: Counting objects: 24% (140/583) remote: Counting objects: 25% (146/583) remote: Counting objects: 26% (152/583) remote: Counting objects: 27% (158/583) remote: Counting objects: 28% (164/583) remote: Counting objects: 29% (170/583) remote: Counting objects: 30% (175/583) remote: Counting objects: 31% (181/583) remote: Counting objects: 32% (187/583) remote: Counting objects: 33% (193/583) remote: Counting objects: 34% (199/583) remote: Counting objects: 35% (205/583) remote: Counting objects: 36% (210/583) remote: Counting objects: 37% (216/583) remote: Counting objects: 38% (222/583) remote: Counting objects: 39% (228/583) remote: Counting objects: 40% (234/583) remote: Counting objects: 41% (240/583) remote: Counting objects: 42% (245/583) remote: Counting objects: 43% (251/583) remote: Counting objects: 44% (257/583) remote: Counting objects: 45% (263/583) remote: Counting objects: 46% (269/583) remote: Counting objects: 47% (275/583) remote: Counting objects: 48% (280/583) remote: Counting objects: 49% (286/583) remote: Counting objects: 50% (292/583) remote: Counting objects: 51% (298/583) remote: Counting objects: 52% (304/583) remote: Counting objects: 53% (309/583) remote: Counting objects: 54% (315/583) remote: Counting objects: 55% (321/583) remote: Counting objects: 56% (327/583) remote: Counting objects: 57% (333/583) remote: Counting objects: 58% (339/583) remote: Counting objects: 59% (344/583) remote: Counting objects: 60% (350/583) remote: Counting objects: 61% (356/583) remote: Counting objects: 62% (362/583) remote: Counting objects: 63% (368/583) remote: Counting objects: 64% (374/583) remote: Counting objects: 65% (379/583) remote: Counting objects: 66% (385/583) remote: Counting objects: 67% (391/583) remote: Counting objects: 68% (397/583) remote: Counting objects: 69% (403/583) remote: Counting objects: 70% (409/583) remote: Counting objects: 71% (414/583) remote: Counting objects: 72% (420/583) remote: Counting objects: 73% (426/583) remote: Counting objects: 74% (432/583) remote: Counting objects: 75% (438/583) remote: Counting objects: 76% (444/583) remote: Counting objects: 77% (449/583) remote: Counting objects: 78% (455/583) remote: Counting objects: 79% (461/583) remote: Counting objects: 80% (467/583) remote: Counting objects: 81% (473/583) remote: Counting objects: 82% (479/583) remote: Counting objects: 83% (484/583) remote: Counting objects: 84% (490/583) remote: Counting objects: 85% (496/583) remote: Counting objects: 86% (502/583) remote: Counting objects: 87% (508/583) remote: Counting objects: 88% (514/583) remote: Counting objects: 89% (519/583) remote: Counting objects: 90% (525/583) remote: Counting objects: 91% (531/583) remote: Counting objects: 92% (537/583) remote: Counting objects: 93% (543/583) remote: Counting objects: 94% (549/583) remote: Counting objects: 95% (554/583) remote: Counting objects: 96% (560/583) remote: Counting objects: 97% (566/583) remote: Counting objects: 98% (572/583) remote: Counting objects: 99% (578/583) remote: Counting objects: 100% (583/583) remote: Counting objects: 100% (583/583), done. remote: Compressing objects: 0% (1/224) remote: Compressing objects: 1% (3/224) remote: Compressing objects: 2% (5/224) remote: Compressing objects: 3% (7/224) remote: Compressing objects: 4% (9/224) remote: Compressing objects: 5% (12/224) remote: Compressing objects: 6% (14/224) remote: Compressing objects: 7% (16/224) remote: Compressing objects: 8% (18/224) remote: Compressing objects: 9% (21/224) remote: Compressing objects: 10% (23/224) remote: Compressing objects: 11% (25/224) remote: Compressing objects: 12% (27/224) remote: Compressing objects: 13% (30/224) remote: Compressing objects: 14% (32/224) remote: Compressing objects: 15% (34/224) remote: Compressing objects: 16% (36/224) remote: Compressing objects: 17% (39/224) remote: Compressing objects: 18% (41/224) remote: Compressing objects: 19% (43/224) remote: Compressing objects: 20% (45/224) remote: Compressing objects: 21% (48/224) remote: Compressing objects: 22% (50/224) remote: Compressing objects: 23% (52/224) remote: Compressing objects: 24% (54/224) remote: Compressing objects: 25% (56/224) remote: Compressing objects: 26% (59/224) remote: Compressing objects: 27% (61/224) remote: Compressing objects: 28% (63/224) remote: Compressing objects: 29% (65/224) remote: Compressing objects: 30% (68/224) remote: Compressing objects: 31% (70/224) remote: Compressing objects: 32% (72/224) remote: Compressing objects: 33% (74/224) remote: Compressing objects: 34% (77/224) remote: Compressing objects: 35% (79/224) remote: Compressing objects: 36% (81/224) remote: Compressing objects: 37% (83/224) remote: Compressing objects: 38% (86/224) remote: Compressing objects: 39% (88/224) remote: Compressing objects: 40% (90/224) remote: Compressing objects: 41% (92/224) remote: Compressing objects: 42% (95/224) remote: Compressing objects: 43% (97/224) remote: Compressing objects: 44% (99/224) remote: Compressing objects: 45% (101/224) remote: Compressing objects: 46% (104/224) remote: Compressing objects: 47% (106/224) remote: Compressing objects: 48% (108/224) remote: Compressing objects: 49% (110/224) remote: Compressing objects: 50% (112/224) remote: Compressing objects: 51% (115/224) remote: Compressing objects: 52% (117/224) remote: Compressing objects: 53% (119/224) remote: Compressing objects: 54% (121/224) remote: Compressing objects: 55% (124/224) remote: Compressing objects: 56% (126/224) remote: Compressing objects: 57% (128/224) remote: Compressing objects: 58% (130/224) remote: Compressing objects: 59% (133/224) remote: Compressing objects: 60% (135/224) remote: Compressing objects: 61% (137/224) remote: Compressing objects: 62% (139/224) remote: Compressing objects: 63% (142/224) remote: Compressing objects: 64% (144/224) remote: Compressing objects: 65% (146/224) remote: Compressing objects: 66% (148/224) remote: Compressing objects: 67% (151/224) remote: Compressing objects: 68% (153/224) remote: Compressing objects: 69% (155/224) remote: Compressing objects: 70% (157/224) remote: Compressing objects: 71% (160/224) remote: Compressing objects: 72% (162/224) remote: Compressing objects: 73% (164/224) remote: Compressing objects: 74% (166/224) remote: Compressing objects: 75% (168/224) remote: Compressing objects: 76% (171/224) remote: Compressing objects: 77% (173/224) remote: Compressing objects: 78% (175/224) remote: Compressing objects: 79% (177/224) remote: Compressing objects: 80% (180/224) remote: Compressing objects: 81% (182/224) remote: Compressing objects: 82% (184/224) remote: Compressing objects: 83% (186/224) remote: Compressing objects: 84% (189/224) remote: Compressing objects: 85% (191/224) remote: Compressing objects: 86% (193/224) remote: Compressing objects: 87% (195/224) remote: Compressing objects: 88% (198/224) remote: Compressing objects: 89% (200/224) remote: Compressing objects: 90% (202/224) remote: Compressing objects: 91% (204/224) remote: Compressing objects: 92% (207/224) remote: Compressing objects: 93% (209/224) remote: Compressing objects: 94% (211/224) remote: Compressing objects: 95% (213/224) remote: Compressing objects: 96% (216/224) remote: Compressing objects: 97% (218/224) remote: Compressing objects: 98% (220/224) remote: Compressing objects: 99% (222/224) remote: Compressing objects: 100% (224/224) remote: Compressing objects: 100% (224/224), done. Receiving objects: 0% (1/583) Receiving objects: 1% (6/583) Receiving objects: 2% (12/583) Receiving objects: 3% (18/583) Receiving objects: 4% (24/583) Receiving objects: 5% (30/583) Receiving objects: 6% (35/583) Receiving objects: 7% (41/583) Receiving objects: 8% (47/583) Receiving objects: 9% (53/583) Receiving objects: 10% (59/583) Receiving objects: 11% (65/583) Receiving objects: 12% (70/583) Receiving objects: 13% (76/583) Receiving objects: 14% (82/583) Receiving objects: 15% (88/583) Receiving objects: 16% (94/583) Receiving objects: 17% (100/583) Receiving objects: 18% (105/583) Receiving objects: 19% (111/583) Receiving objects: 20% (117/583) Receiving objects: 21% (123/583) Receiving objects: 22% (129/583) Receiving objects: 23% (135/583) Receiving objects: 24% (140/583) Receiving objects: 25% (146/583) Receiving objects: 26% (152/583) Receiving objects: 27% (158/583) Receiving objects: 28% (164/583) Receiving objects: 29% (170/583) Receiving objects: 30% (175/583) Receiving objects: 31% (181/583) Receiving objects: 32% (187/583) Receiving objects: 33% (193/583) Receiving objects: 34% (199/583) Receiving objects: 35% (205/583) Receiving objects: 36% (210/583) Receiving objects: 37% (216/583) Receiving objects: 38% (222/583) Receiving objects: 39% (228/583) Receiving objects: 40% (234/583) Receiving objects: 41% (240/583) Receiving objects: 42% (245/583) Receiving objects: 43% (251/583) Receiving objects: 44% (257/583) Receiving objects: 45% (263/583) Receiving objects: 46% (269/583) Receiving objects: 47% (275/583) Receiving objects: 48% (280/583) Receiving objects: 49% (286/583) Receiving objects: 50% (292/583) Receiving objects: 51% (298/583) Receiving objects: 52% (304/583) Receiving objects: 53% (309/583) Receiving objects: 54% (315/583) Receiving objects: 55% (321/583) Receiving objects: 56% (327/583) Receiving objects: 57% (333/583) Receiving objects: 58% (339/583) Receiving objects: 59% (344/583) Receiving objects: 60% (350/583) Receiving objects: 61% (356/583) Receiving objects: 62% (362/583) Receiving objects: 63% (368/583) Receiving objects: 64% (374/583) Receiving objects: 65% (379/583) Receiving objects: 66% (385/583) Receiving objects: 67% (391/583) Receiving objects: 68% (397/583) Receiving objects: 69% (403/583) Receiving objects: 70% (409/583) Receiving objects: 71% (414/583) Receiving objects: 72% (420/583) Receiving objects: 73% (426/583) Receiving objects: 74% (432/583) Receiving objects: 75% (438/583) Receiving objects: 76% (444/583) Receiving objects: 77% (449/583) Receiving objects: 78% (455/583) Receiving objects: 79% (461/583) Receiving objects: 80% (467/583) Receiving objects: 81% (473/583) Receiving objects: 82% (479/583) Receiving objects: 83% (484/583) Receiving objects: 84% (490/583) Receiving objects: 85% (496/583) Receiving objects: 86% (502/583) Receiving objects: 87% (508/583) remote: Total 583 (delta 375), reused 552 (delta 349), pack-reused 0 Receiving objects: 88% (514/583) Receiving objects: 89% (519/583) Receiving objects: 90% (525/583) Receiving objects: 91% (531/583) Receiving objects: 92% (537/583) Receiving objects: 93% (543/583) Receiving objects: 94% (549/583) Receiving objects: 95% (554/583) Receiving objects: 96% (560/583) Receiving objects: 97% (566/583) Receiving objects: 98% (572/583) Receiving objects: 99% (578/583) Receiving objects: 100% (583/583) Receiving objects: 100% (583/583), 136.17 KiB | 766.00 KiB/s, done. Resolving deltas: 0% (0/375) Resolving deltas: 1% (5/375) Resolving deltas: 2% (8/375) Resolving deltas: 3% (12/375) Resolving deltas: 4% (15/375) Resolving deltas: 5% (19/375) Resolving deltas: 6% (23/375) Resolving deltas: 7% (27/375) Resolving deltas: 8% (30/375) Resolving deltas: 9% (34/375) Resolving deltas: 10% (38/375) Resolving deltas: 11% (42/375) Resolving deltas: 12% (45/375) Resolving deltas: 13% (49/375) Resolving deltas: 14% (53/375) Resolving deltas: 15% (57/375) Resolving deltas: 16% (60/375) Resolving deltas: 17% (64/375) Resolving deltas: 18% (68/375) Resolving deltas: 19% (72/375) Resolving deltas: 20% (75/375) Resolving deltas: 21% (79/375) Resolving deltas: 22% (83/375) Resolving deltas: 23% (87/375) Resolving deltas: 24% (90/375) Resolving deltas: 25% (94/375) Resolving deltas: 26% (98/375) Resolving deltas: 27% (102/375) Resolving deltas: 28% (105/375) Resolving deltas: 29% (109/375) Resolving deltas: 30% (113/375) Resolving deltas: 31% (117/375) Resolving deltas: 32% (120/375) Resolving deltas: 33% (125/375) Resolving deltas: 34% (128/375) Resolving deltas: 35% (132/375) Resolving deltas: 36% (135/375) Resolving deltas: 37% (139/375) Resolving deltas: 38% (143/375) Resolving deltas: 39% (147/375) Resolving deltas: 40% (150/375) Resolving deltas: 41% (154/375) Resolving deltas: 42% (158/375) Resolving deltas: 43% (162/375) Resolving deltas: 44% (165/375) Resolving deltas: 45% (169/375) Resolving deltas: 46% (173/375) Resolving deltas: 47% (177/375) Resolving deltas: 48% (180/375) Resolving deltas: 49% (185/375) Resolving deltas: 50% (188/375) Resolving deltas: 51% (192/375) Resolving deltas: 52% (195/375) Resolving deltas: 53% (199/375) Resolving deltas: 54% (203/375) Resolving deltas: 55% (207/375) Resolving deltas: 56% (210/375) Resolving deltas: 57% (214/375) Resolving deltas: 58% (218/375) Resolving deltas: 59% (222/375) Resolving deltas: 60% (225/375) Resolving deltas: 61% (229/375) Resolving deltas: 62% (233/375) Resolving deltas: 63% (237/375) Resolving deltas: 64% (240/375) Resolving deltas: 65% (244/375) Resolving deltas: 66% (248/375) Resolving deltas: 67% (252/375) Resolving deltas: 68% (255/375) Resolving deltas: 69% (259/375) Resolving deltas: 70% (263/375) Resolving deltas: 71% (267/375) Resolving deltas: 72% (270/375) Resolving deltas: 73% (274/375) Resolving deltas: 74% (278/375) Resolving deltas: 75% (282/375) Resolving deltas: 76% (285/375) Resolving deltas: 77% (289/375) Resolving deltas: 78% (293/375) Resolving deltas: 79% (297/375) Resolving deltas: 80% (300/375) Resolving deltas: 81% (304/375) Resolving deltas: 82% (308/375) Resolving deltas: 83% (312/375) Resolving deltas: 84% (315/375) Resolving deltas: 85% (319/375) Resolving deltas: 86% (323/375) Resolving deltas: 87% (327/375) Resolving deltas: 88% (330/375) Resolving deltas: 89% (334/375) Resolving deltas: 90% (338/375) Resolving deltas: 91% (342/375) Resolving deltas: 92% (345/375) Resolving deltas: 93% (349/375) Resolving deltas: 94% (353/375) Resolving deltas: 95% (357/375) Resolving deltas: 96% (360/375) Resolving deltas: 97% (364/375) Resolving deltas: 98% (368/375) Resolving deltas: 99% (372/375) Resolving deltas: 100% (375/375) Resolving deltas: 100% (375/375), done. HEAD is now at eb07969 Fix Limiter test npm install npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated messageformat@2.3.0: Package renamed as '@messageformat/core', see messageformat.github.io for more details. 'messageformat@4' will eventually provide a polyfill for Intl.MessageFormat, once it's been defined by Unicode & ECMA. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.  > core-js@3.32.1 postinstall /home/semaphore/await-the/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.  added 507 packages from 713 contributors and audited 507 packages in 17.236s 18 packages are looking for funding run `npm fund` for details found 44 vulnerabilities (14 moderate, 22 high, 8 critical) run `npm audit fix` to fix them, or `npm audit` for details npm run lint > await-the@4.3.3 lint /home/semaphore/await-the > eslint . npm test > await-the@4.3.3 test /home/semaphore/await-the > npm run lint && nyc mocha --bail --exit test > await-the@4.3.3 lint /home/semaphore/await-the > eslint . Limiter test ✓ should return if no collection is supplied ✓ should do iterate 2 times and call done ✓ should be able to run serially with a limit of 1 (1002ms) ✓ should be able to run in parallel with a limit of 3 (1002ms) ✓ should be able to run in parallel with a limit of 2 (2001ms) ✓ should work correctly when presented with keys that start with numbers or are stringified numbers ✓ should throw for invalid channel ✓ should work correctly with ugly promises (1002ms) ✓ should not block the event loop (1012ms) bail on error ✓ should bail on error by default (101ms) ✓ should not bail on error if specified stop ✓ should stop iteration after calling stop (101ms) all test ✓ should resolve all types ✓ should run in series if the limit is 1 (502ms) ✓ should run in parallel if the limit greater than 1 (700ms) ✓ should support objects any test ✓ should return true for a promise that passes ✓ should throw an error if no promises resolve ✓ should not error if last item resolves (edge case) Callback test ✓ should callback ✓ should callback with error ✓ should return results ✓ should throw error deadline test ✓ should resolve the task if it executes under the time limit (1000ms) ✓ should reject the Promise if it executes over the time limit (1002ms) ✓ should reject the Promise if it executes over the time limit with a custom error message (1002ms) ✓ should work with Promises rather than async/await (1002ms) Each test ✓ should return the correct data and should run all tasks in parallel (401ms) ✓ should return the correct data and should run all tasks in series with `limit: 1` (1001ms) ✓ should fail on rejected promises every test ✓ should return true if all promises resolve ✓ should throw an error if any does not resolve ✓ should error if last item throws (edge case) ✓ should work for a collection that is an object Map test ✓ should run in series if the limit is 1 (1502ms) ✓ should run in series if the concurrency is 1 (1502ms) ✓ should run in parallel if the limit greater than 1 (1002ms) ✓ should run in parallel if the limit is undefined (501ms) ✓ should be able to map an object (501ms) ✓ should bail on error for series (1001ms) Map Values test ✓ should return the correct data (1001ms) ✓ should fail on rejected promises ✓ should run in series if the limit is 1 (1503ms) ✓ should run in series if the concurrency is 1 (1503ms) ✓ should run in parallel if the limit greater than 1, and retain key order (500ms) ✓ should run in parallel if the concurrency greater than 1, and retain key order (151ms) multiResult test ✓ should return the correct results with a standard (null, result) callback (100ms) ✓ should return the correct results with a standard (error, result) callback (100ms) ✓ should return the correct results with a multi-value (null, result1, result2) callback (101ms) ✓ should respect binding (201ms) ✓ should work with alternate syntax (100ms) ✓ should capture error being thrown in the function Result test ✓ should return the correct result (100ms) ✓ should respect binding (201ms) ✓ should work with alternate syntax (100ms) ✓ should fail on error being returned in callback ✓ should fail on error being thrown in the funciton Retry test ✓ should retry three times (502ms) ✓ should fail after max tries reached (904ms) ✓ should respect a number as the retry interval (409ms) ✓ should respect a function as the retry interval (1010ms) ✓ should default to a 2 second interval (2005ms) ✓ should default to a 2 second interval for non-number or function type (2005ms) ✓ should gracefully handle bogus output from an interval function (2004ms) errorFilter errorFilter is not a function ✓ should retry twice then error (54ms) ✓ should retry twice then return results (53ms) errorFilter is a function ✓ should retry twice then error (53ms) ✓ should retry twice then return results (53ms) errorFilter is a promise ✓ should retry twice then error (85ms) ✓ should retry twice then return results (74ms) Wait test ✓ should wait the correct amount of time (1002ms) While test ✓ should correctly iterate and exit based on the condition ✓ should correctly iterate and exit based on the previous result passed into the condition ✓ should correctly test multiple args ✓ should correctly test async conditions. ✓ should correctly test promisified conditions. ✓ should fail on rejected promises ✓ should fail on thrown errors While test ✓ should correctly iterate and exit based on the condition ✓ should correctly iterate and exit based on the max loops being hit ✓ should correctly iterate and exit based on the previous result passed into the condition ✓ should correctly test multiple args ✓ should correctly test async conditions. ✓ should correctly test promisified conditions. ✓ should fail on rejected promises ✓ should fail on thrown errors ✓ should fail on NaN max iterations ✓ should fail on being less than 1 max iterations 88 passing (35s) -----------------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -----------------|----------|----------|----------|----------|-------------------| All files | 97.62 | 81.58 | 96.43 | 97.52 | | await-the | 100 | 100 | 100 | 100 | | index.js | 100 | 100 | 100 | 100 | | await-the/lib | 97.41 | 81.58 | 96.43 | 97.3 | | Limiter.js | 100 | 93.55 | 100 | 100 | 146,148 | all.js | 100 | 100 | 100 | 100 | | any.js | 100 | 100 | 100 | 100 | | callback.js | 100 | 100 | 100 | 100 | | deadline.js | 100 | 100 | 100 | 100 | | each.js | 100 | 100 | 100 | 100 | | every.js | 100 | 50 | 100 | 100 | 31,37 | map.js | 100 | 50 | 83.33 | 100 | 27,44,47 | mapValues.js | 100 | 50 | 85.71 | 100 | 28,43,46 | multiResult.js | 82.35 | 62.5 | 100 | 82.35 | 37,42,48 | result.js | 76.92 | 62.5 | 100 | 76.92 | 38,43,49 | retry.js | 100 | 89.47 | 100 | 100 | 31,32 | wait.js | 100 | 50 | 100 | 100 | 20 | while.js | 100 | 100 | 100 | 100 | | whileMax.js | 100 | 100 | 100 | 100 | | -----------------|----------|----------|----------|----------|-------------------| Exporting environment variables Exporting SEMAPHORE_JOB_RESULT