From 1c804e93a095eb8c035e6c21803f5dc488269c70 Mon Sep 17 00:00:00 2001 From: Arun Vishnu <1584121+arunvishnun@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:13:15 -0800 Subject: [PATCH 1/2] fix: test issues in sample apps --- common/config/rush/command-line.json | 11 + common/config/rush/pnpm-lock.yaml | 298 +++++++++--------- .../test/spec/fastify-plugin.spec.js | 18 +- 3 files changed, 177 insertions(+), 150 deletions(-) diff --git a/common/config/rush/command-line.json b/common/config/rush/command-line.json index 9a3b8e6f7..152aea968 100644 --- a/common/config/rush/command-line.json +++ b/common/config/rush/command-line.json @@ -37,6 +37,17 @@ "safeForSimultaneousRushProcesses": true, "autoinstallerName": "commitlint", "shellCommand": "commitlint" + }, + { + "commandKind": "bulk", + "name": "build", + "summary": "Build all projects that haven't been built, or have changed since they were last built", + "description": "This command is similar to \"rush rebuild\", except that \"rush build\" performs...", + "safeForSimultaneousRushProcesses": false, + "enableParallelism": true, + "ignoreDependencyOrder": false, + "ignoreMissingScript": false, + "allowWarningsInSuccessfulBuild": false } // { diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 4fb4349d5..e6ba40cf8 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1956,7 +1956,7 @@ packages: babel-plugin-polyfill-corejs2: 0.3.3_@babel+core@7.21.0 babel-plugin-polyfill-corejs3: 0.6.0_@babel+core@7.21.0 babel-plugin-polyfill-regenerator: 0.4.1_@babel+core@7.21.0 - core-js-compat: 3.28.0 + core-js-compat: 3.29.0 semver: 6.3.0 transitivePeerDependencies: - supports-color @@ -2039,7 +2039,7 @@ packages: resolution: {integrity: sha512-TDD4UJzos3JJtM+tHX+w2Uc+KWj7GV+VKKFdMVd2Rx8sdA19hcc3P3AHFYd5LVOw+pYuSd5lICC3gm52B6Rwxw==} engines: {node: '>=6.9.0'} dependencies: - core-js-pure: 3.28.0 + core-js-pure: 3.29.0 regenerator-runtime: 0.13.11 dev: false @@ -2178,8 +2178,8 @@ packages: - supports-color dev: false - /@eslint/eslintrc/1.4.1: - resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} + /@eslint/eslintrc/2.0.0: + resolution: {integrity: sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 @@ -2195,6 +2195,11 @@ packages: - supports-color dev: false + /@eslint/js/8.35.0: + resolution: {integrity: sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: false + /@fastify/ajv-compiler/1.1.0: resolution: {integrity: sha512-gvCOUNpXsWrIQ3A4aXCLIdblL0tDq42BG/2Xw7oxbil9h11uow10ztS2GuFazNBfjbrsZ5nl+nPl5jDSjj5TSg==} dependencies: @@ -2589,7 +2594,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 chalk: 4.1.2 jest-message-util: 26.6.2 jest-util: 26.6.2 @@ -2605,7 +2610,7 @@ packages: '@jest/test-result': 26.6.2 '@jest/transform': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 ansi-escapes: 4.3.2 chalk: 4.1.2 exit: 0.1.2 @@ -2642,7 +2647,7 @@ packages: dependencies: '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 jest-mock: 26.6.2 dev: false @@ -2652,7 +2657,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@sinonjs/fake-timers': 6.0.1 - '@types/node': 18.14.1 + '@types/node': 18.14.2 jest-message-util: 26.6.2 jest-mock: 26.6.2 jest-util: 26.6.2 @@ -2766,7 +2771,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 18.14.1 + '@types/node': 18.14.2 '@types/yargs': 15.0.15 chalk: 4.1.2 dev: false @@ -3176,7 +3181,7 @@ packages: /@types/graceful-fs/4.1.6: resolution: {integrity: sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==} dependencies: - '@types/node': 18.14.1 + '@types/node': 18.14.2 dev: false /@types/hoist-non-react-statics/3.3.1: @@ -3253,8 +3258,8 @@ packages: resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} dev: false - /@types/node/18.14.1: - resolution: {integrity: sha512-QH+37Qds3E0eDlReeboBxfHbX9omAcBCXEzswCu6jySP642jiM3cYSIkU/REqwhCUqXdonHFuBfJDiAJxMNhaQ==} + /@types/node/18.14.2: + resolution: {integrity: sha512-1uEQxww3DaghA0RxqHx0O0ppVlo43pJhepY51OxuQIKHpjbnYLA7vcdwioNPzIqmC2u3I/dmylcqjlh0e7AyUA==} dev: false /@types/normalize-package-data/2.4.1: @@ -3299,7 +3304,7 @@ packages: resolution: {integrity: sha512-/19t63pFYU0ikrdbXKBWj9PCdnKyTd0Qkz0X91Ta081cYsq90OxYdcWwK/dwEoDa6dtXgj2HJfmzgq+QZTHdmQ==} dependencies: '@types/chai': 4.3.4 - '@types/sinon': 9.0.11 + '@types/sinon': 10.0.13 dev: false /@types/sinon/10.0.13: @@ -3341,7 +3346,7 @@ packages: /@types/webpack/5.28.0_uglify-js@2.8.29: resolution: {integrity: sha512-8cP0CzcxUiFuA9xGJkfeVpqmWTk9nx6CWwamRGCj95ph1SmlRRk9KlCZ6avhCbZd4L68LvYT6l1kpdEnQXrF8w==} dependencies: - '@types/node': 18.14.1 + '@types/node': 18.14.2 tapable: 2.2.1 webpack: 5.75.0_uglify-js@2.8.29 transitivePeerDependencies: @@ -3457,8 +3462,8 @@ packages: - supports-color dev: false - /@typescript-eslint/eslint-plugin/5.53.0_6e392fc05ec1bfc280bb1faf3c69c5ce: - resolution: {integrity: sha512-alFpFWNucPLdUOySmXCJpzr6HKC3bu7XooShWM+3w/EL6J2HIoB2PFxpLnq4JauWVk6DiVeNKzQlFEaE+X9sGw==} + /@typescript-eslint/eslint-plugin/5.54.0_f313ab61f51b54d267eab4b4d28cd47a: + resolution: {integrity: sha512-+hSN9BdSr629RF02d7mMtXhAJvDTyCbprNYJKrXETlul/Aml6YZwd90XioVbjejQeHbb3R8Dg0CkRgoJDxo8aw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -3468,12 +3473,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.53.0_eslint@8.34.0+typescript@4.9.5 - '@typescript-eslint/scope-manager': 5.53.0 - '@typescript-eslint/type-utils': 5.53.0_eslint@8.34.0+typescript@4.9.5 - '@typescript-eslint/utils': 5.53.0_eslint@8.34.0+typescript@4.9.5 + '@typescript-eslint/parser': 5.54.0_eslint@8.35.0+typescript@4.9.5 + '@typescript-eslint/scope-manager': 5.54.0 + '@typescript-eslint/type-utils': 5.54.0_eslint@8.35.0+typescript@4.9.5 + '@typescript-eslint/utils': 5.54.0_eslint@8.35.0+typescript@4.9.5 debug: 4.3.4 - eslint: 8.34.0 + eslint: 8.35.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 @@ -3648,8 +3653,8 @@ packages: - supports-color dev: false - /@typescript-eslint/parser/5.53.0_eslint@8.34.0+typescript@4.9.5: - resolution: {integrity: sha512-MKBw9i0DLYlmdOb3Oq/526+al20AJZpANdT6Ct9ffxcV8nKCHz63t/S0IhlTFNsBIHJv+GY5SFJ0XfqVeydQrQ==} + /@typescript-eslint/parser/5.54.0_eslint@8.35.0+typescript@4.9.5: + resolution: {integrity: sha512-aAVL3Mu2qTi+h/r04WI/5PfNWvO6pdhpeMRWk9R7rEV4mwJNzoWf5CCU5vDKBsPIFQFjEq1xg7XBI2rjiMXQbQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -3658,11 +3663,11 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.53.0 - '@typescript-eslint/types': 5.53.0 - '@typescript-eslint/typescript-estree': 5.53.0_typescript@4.9.5 + '@typescript-eslint/scope-manager': 5.54.0 + '@typescript-eslint/types': 5.54.0 + '@typescript-eslint/typescript-estree': 5.54.0_typescript@4.9.5 debug: 4.3.4 - eslint: 8.34.0 + eslint: 8.35.0 typescript: 4.9.5 transitivePeerDependencies: - supports-color @@ -3676,16 +3681,16 @@ packages: '@typescript-eslint/visitor-keys': 4.33.0 dev: false - /@typescript-eslint/scope-manager/5.53.0: - resolution: {integrity: sha512-Opy3dqNsp/9kBBeCPhkCNR7fmdSQqA+47r21hr9a14Bx0xnkElEQmhoHga+VoaoQ6uDHjDKmQPIYcUcKJifS7w==} + /@typescript-eslint/scope-manager/5.54.0: + resolution: {integrity: sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.53.0 - '@typescript-eslint/visitor-keys': 5.53.0 + '@typescript-eslint/types': 5.54.0 + '@typescript-eslint/visitor-keys': 5.54.0 dev: false - /@typescript-eslint/type-utils/5.53.0_eslint@8.34.0+typescript@4.9.5: - resolution: {integrity: sha512-HO2hh0fmtqNLzTAme/KnND5uFNwbsdYhCZghK2SoxGp3Ifn2emv+hi0PBUjzzSh0dstUIFqOj3bp0AwQlK4OWw==} + /@typescript-eslint/type-utils/5.54.0_eslint@8.35.0+typescript@4.9.5: + resolution: {integrity: sha512-WI+WMJ8+oS+LyflqsD4nlXMsVdzTMYTxl16myXPaCXnSgc7LWwMsjxQFZCK/rVmTZ3FN71Ct78ehO9bRC7erYQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -3694,10 +3699,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.53.0_typescript@4.9.5 - '@typescript-eslint/utils': 5.53.0_eslint@8.34.0+typescript@4.9.5 + '@typescript-eslint/typescript-estree': 5.54.0_typescript@4.9.5 + '@typescript-eslint/utils': 5.54.0_eslint@8.35.0+typescript@4.9.5 debug: 4.3.4 - eslint: 8.34.0 + eslint: 8.35.0 tsutils: 3.21.0_typescript@4.9.5 typescript: 4.9.5 transitivePeerDependencies: @@ -3709,8 +3714,8 @@ packages: engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} dev: false - /@typescript-eslint/types/5.53.0: - resolution: {integrity: sha512-5kcDL9ZUIP756K6+QOAfPkigJmCPHcLN7Zjdz76lQWWDdzfOhZDTj1irs6gPBKiXx5/6O3L0+AvupAut3z7D2A==} + /@typescript-eslint/types/5.54.0: + resolution: {integrity: sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false @@ -3818,8 +3823,8 @@ packages: - supports-color dev: false - /@typescript-eslint/typescript-estree/5.53.0_typescript@4.9.5: - resolution: {integrity: sha512-eKmipH7QyScpHSkhbptBBYh9v8FxtngLquq292YTEQ1pxVs39yFBlLC1xeIZcPPz1RWGqb7YgERJRGkjw8ZV7w==} + /@typescript-eslint/typescript-estree/5.54.0_typescript@4.9.5: + resolution: {integrity: sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -3827,8 +3832,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.53.0 - '@typescript-eslint/visitor-keys': 5.53.0 + '@typescript-eslint/types': 5.54.0 + '@typescript-eslint/visitor-keys': 5.54.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -3839,20 +3844,20 @@ packages: - supports-color dev: false - /@typescript-eslint/utils/5.53.0_eslint@8.34.0+typescript@4.9.5: - resolution: {integrity: sha512-VUOOtPv27UNWLxFwQK/8+7kvxVC+hPHNsJjzlJyotlaHjLSIgOCKj9I0DBUjwOOA64qjBwx5afAPjksqOxMO0g==} + /@typescript-eslint/utils/5.54.0_eslint@8.35.0+typescript@4.9.5: + resolution: {integrity: sha512-cuwm8D/Z/7AuyAeJ+T0r4WZmlnlxQ8wt7C7fLpFlKMR+dY6QO79Cq1WpJhvZbMA4ZeZGHiRWnht7ZJ8qkdAunw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.11 '@types/semver': 7.3.13 - '@typescript-eslint/scope-manager': 5.53.0 - '@typescript-eslint/types': 5.53.0 - '@typescript-eslint/typescript-estree': 5.53.0_typescript@4.9.5 - eslint: 8.34.0 + '@typescript-eslint/scope-manager': 5.54.0 + '@typescript-eslint/types': 5.54.0 + '@typescript-eslint/typescript-estree': 5.54.0_typescript@4.9.5 + eslint: 8.35.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.34.0 + eslint-utils: 3.0.0_eslint@8.35.0 semver: 7.3.8 transitivePeerDependencies: - supports-color @@ -3867,11 +3872,11 @@ packages: eslint-visitor-keys: 2.1.0 dev: false - /@typescript-eslint/visitor-keys/5.53.0: - resolution: {integrity: sha512-JqNLnX3leaHFZEN0gCh81sIvgrp/2GOACZNgO4+Tkf64u51kTpAyWFOY8XHx8XuXr3N2C9zgPPHtcpMg6z1g0w==} + /@typescript-eslint/visitor-keys/5.54.0: + resolution: {integrity: sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.53.0 + '@typescript-eslint/types': 5.54.0 eslint-visitor-keys: 3.3.0 dev: false @@ -5030,7 +5035,7 @@ packages: hasBin: true dependencies: browserslist: 4.21.5 - caniuse-lite: 1.0.30001457 + caniuse-lite: 1.0.30001458 normalize-range: 0.1.2 num2fraction: 1.2.2 picocolors: 0.2.1 @@ -5192,7 +5197,7 @@ packages: - supports-color dev: false - /babel-eslint/10.1.0_eslint@8.34.0: + /babel-eslint/10.1.0_eslint@8.35.0: resolution: {integrity: sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==} engines: {node: '>=6'} deprecated: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. @@ -5203,7 +5208,7 @@ packages: '@babel/parser': 7.21.2 '@babel/traverse': 7.21.2 '@babel/types': 7.21.2 - eslint: 8.34.0 + eslint: 8.35.0 eslint-visitor-keys: 1.3.0 resolve: 1.22.1 transitivePeerDependencies: @@ -5609,7 +5614,7 @@ packages: dependencies: '@babel/core': 7.21.0 '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.21.0 - core-js-compat: 3.28.0 + core-js-compat: 3.29.0 transitivePeerDependencies: - supports-color dev: false @@ -6704,7 +6709,7 @@ packages: resolution: {integrity: sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==} hasBin: true dependencies: - caniuse-lite: 1.0.30001457 + caniuse-lite: 1.0.30001458 electron-to-chromium: 1.4.311 dev: false @@ -6713,7 +6718,7 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001457 + caniuse-lite: 1.0.30001458 electron-to-chromium: 1.4.311 node-releases: 2.0.10 update-browserslist-db: 1.0.10_browserslist@4.21.5 @@ -6984,13 +6989,13 @@ packages: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} dependencies: browserslist: 4.21.5 - caniuse-lite: 1.0.30001457 + caniuse-lite: 1.0.30001458 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 dev: false - /caniuse-lite/1.0.30001457: - resolution: {integrity: sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA==} + /caniuse-lite/1.0.30001458: + resolution: {integrity: sha512-lQ1VlUUq5q9ro9X+5gOEyH7i3vm+AYVT1WDCVB69XOZ17KZRhnZ9J0Sqz7wTHQaLBJccNCHq8/Ww5LlOIZbB0w==} dev: false /capture-exit/2.0.0: @@ -7719,14 +7724,14 @@ packages: engines: {node: '>=0.10.0'} dev: false - /core-js-compat/3.28.0: - resolution: {integrity: sha512-myzPgE7QodMg4nnd3K1TDoES/nADRStM8Gpz0D6nhkwbmwEnE0ZGJgoWsvQ722FR8D7xS0n0LV556RcEicjTyg==} + /core-js-compat/3.29.0: + resolution: {integrity: sha512-ScMn3uZNAFhK2DGoEfErguoiAHhV2Ju+oJo/jK08p7B3f3UhocUrCCkTvnZaiS+edl5nlIoiBXKcwMc6elv4KQ==} dependencies: browserslist: 4.21.5 dev: false - /core-js-pure/3.28.0: - resolution: {integrity: sha512-DSOVleA9/v3LNj/vFxAPfUHttKTzrB2RXhAPvR5TPXn4vrra3Z2ssytvRyt8eruJwAfwAiFADEbrjcRdcvPLQQ==} + /core-js-pure/3.29.0: + resolution: {integrity: sha512-v94gUjN5UTe1n0yN/opTihJ8QBWD2O8i19RfTZR7foONPWArnjB96QA/wk5ozu1mm6ja3udQCzOzwQXTxi3xOQ==} requiresBuild: true dev: false @@ -7736,8 +7741,8 @@ packages: requiresBuild: true dev: false - /core-js/3.28.0: - resolution: {integrity: sha512-GiZn9D4Z/rSYvTeg1ljAIsEqFm0LaN9gVtwDCrKL80zHtS31p9BAjmTxVqTQDMpwlMolJZOFntUG2uwyj7DAqw==} + /core-js/3.29.0: + resolution: {integrity: sha512-VG23vuEisJNkGl6XQmFJd3rEG/so/CNatqeE+7uZAwTSwFeB/qaO0be8xZYUNWprJ/GIwL8aMt9cj1kvbpTZhg==} requiresBuild: true dev: false @@ -9219,12 +9224,12 @@ packages: lodash.upperfirst: 4.3.1 dev: false - /eslint-plugin-filenames/1.3.2_eslint@8.34.0: + /eslint-plugin-filenames/1.3.2_eslint@8.35.0: resolution: {integrity: sha512-tqxJTiEM5a0JmRCUYQmxw23vtTxrb2+a3Q2mMOPhFxvt7ZQQJmdiuMby9B/vUAuVMghyP7oET+nIf6EO6CBd/w==} peerDependencies: eslint: '*' dependencies: - eslint: 8.34.0 + eslint: 8.35.0 lodash.camelcase: 4.3.0 lodash.kebabcase: 4.1.1 lodash.snakecase: 4.1.1 @@ -9318,7 +9323,7 @@ packages: - supports-color dev: false - /eslint-plugin-jsdoc/30.7.13_eslint@8.34.0: + /eslint-plugin-jsdoc/30.7.13_eslint@8.35.0: resolution: {integrity: sha512-YM4WIsmurrp0rHX6XiXQppqKB8Ne5ATiZLJe2+/fkp9l9ExXFr43BbAbjZaVrpCT+tuPYOZ8k1MICARHnURUNQ==} engines: {node: '>=10'} peerDependencies: @@ -9326,7 +9331,7 @@ packages: dependencies: comment-parser: 0.7.6 debug: 4.3.4 - eslint: 8.34.0 + eslint: 8.35.0 jsdoctypeparser: 9.0.0 lodash: 4.17.21 regextras: 0.7.1 @@ -9493,13 +9498,13 @@ packages: eslint-visitor-keys: 2.1.0 dev: false - /eslint-utils/3.0.0_eslint@8.34.0: + /eslint-utils/3.0.0_eslint@8.35.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.34.0 + eslint: 8.35.0 eslint-visitor-keys: 2.1.0 dev: false @@ -9658,12 +9663,13 @@ packages: - supports-color dev: false - /eslint/8.34.0: - resolution: {integrity: sha512-1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==} + /eslint/8.35.0: + resolution: {integrity: sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint/eslintrc': 1.4.1 + '@eslint/eslintrc': 2.0.0 + '@eslint/js': 8.35.0 '@humanwhocodes/config-array': 0.11.8 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -9674,7 +9680,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.34.0 + eslint-utils: 3.0.0_eslint@8.35.0 eslint-visitor-keys: 3.3.0 espree: 9.4.1 esquery: 1.4.2 @@ -12649,7 +12655,7 @@ packages: '@jest/environment': 26.6.2 '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 jest-mock: 26.6.2 jest-util: 26.6.2 jsdom: 16.7.0 @@ -12667,7 +12673,7 @@ packages: '@jest/environment': 26.6.2 '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 jest-mock: 26.6.2 jest-util: 26.6.2 dev: false @@ -12683,7 +12689,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.6 - '@types/node': 18.14.1 + '@types/node': 18.14.2 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.10 @@ -12707,7 +12713,7 @@ packages: '@jest/source-map': 26.6.2 '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 chalk: 4.1.2 co: 4.6.0 expect: 26.6.2 @@ -12766,7 +12772,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 dev: false /jest-pnp-resolver/1.2.3_jest-resolve@26.6.2: @@ -12817,7 +12823,7 @@ packages: '@jest/environment': 26.6.2 '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 chalk: 4.1.2 emittery: 0.7.2 exit: 0.1.2 @@ -12885,7 +12891,7 @@ packages: resolution: {integrity: sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==} engines: {node: '>= 10.14.2'} dependencies: - '@types/node': 18.14.1 + '@types/node': 18.14.2 graceful-fs: 4.2.10 dev: false @@ -12916,7 +12922,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 chalk: 4.1.2 graceful-fs: 4.2.10 is-ci: 2.0.0 @@ -12941,7 +12947,7 @@ packages: dependencies: '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 18.14.1 + '@types/node': 18.14.2 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 26.6.2 @@ -12952,7 +12958,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 18.14.1 + '@types/node': 18.14.2 merge-stream: 2.0.0 supports-color: 7.2.0 dev: false @@ -12961,7 +12967,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 18.14.1 + '@types/node': 18.14.2 merge-stream: 2.0.0 supports-color: 8.1.1 dev: false @@ -14490,8 +14496,8 @@ packages: brace-expansion: 2.0.1 dev: false - /minimatch/6.2.0: - resolution: {integrity: sha512-sauLxniAmvnhhRjFwPNnJKaPFYyddAgbYdeUpHULtCT/GhzdCx/MDNy+Y40lBxTQUrMzDE8e0S43Z5uqfO0REg==} + /minimatch/7.2.0: + resolution: {integrity: sha512-rMRHmwySzopAQjmWW6TkAKCEDKNaY/HuV/c2YkWWuWnfkTwApt0V4hnYzzPnZ/5Gcd2+8MPncSyuOGPl3xPvcg==} engines: {node: '>=10'} dependencies: brace-expansion: 2.0.1 @@ -14579,8 +14585,8 @@ packages: yallist: 4.0.0 dev: false - /minipass/4.2.1: - resolution: {integrity: sha512-KS4CHIsDfOZetnT+u6fwxyFADXLamtkPxkGScmmtTW//MlRrImV+LtbmbJpLQ86Hw7km/utbfEfndhGBrfwvlA==} + /minipass/4.2.4: + resolution: {integrity: sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ==} engines: {node: '>=8'} dev: false @@ -16525,7 +16531,7 @@ packages: dependencies: autoprefixer: 9.8.8 browserslist: 4.21.5 - caniuse-lite: 1.0.30001457 + caniuse-lite: 1.0.30001458 css-blank-pseudo: 0.1.4 css-has-pseudo: 0.10.0 css-prefers-color-scheme: 3.1.1 @@ -19560,7 +19566,7 @@ packages: dependencies: chownr: 2.0.0 fs-minipass: 2.1.0 - minipass: 4.2.1 + minipass: 4.2.4 minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 @@ -19907,7 +19913,7 @@ packages: yn: 3.1.1 dev: false - /ts-node/10.9.1_325dbdcd45fb3439d2de9b2f3ddec5e4: + /ts-node/10.9.1_22d660128e83668d9cb45e9b8d228608: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -19926,19 +19932,19 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 14.18.36 + '@types/node': 18.14.2 acorn: 8.8.2 acorn-walk: 8.2.0 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.8.4 + typescript: 4.9.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: false - /ts-node/10.9.1_a0315032f06afb8221c94e257b39ec96: + /ts-node/10.9.1_325dbdcd45fb3439d2de9b2f3ddec5e4: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -19957,14 +19963,14 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 18.14.1 + '@types/node': 14.18.36 acorn: 8.8.2 acorn-walk: 8.2.0 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.9.5 + typescript: 4.8.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: false @@ -20317,8 +20323,8 @@ packages: typescript: 4.9.5 dev: false - /typedoc/0.23.25_typescript@4.9.5: - resolution: {integrity: sha512-O1he153qVyoCgJYSvIyY3bPP1wAJTegZfa6tL3APinSZhJOf8CSd8F/21M6ex8pUY/fuY6n0jAsT4fIuMGA6sA==} + /typedoc/0.23.26_typescript@4.9.5: + resolution: {integrity: sha512-5m4KwR5tOLnk0OtMaRn9IdbeRM32uPemN9kur7YK9wFqx8U0CYrvO9aVq6ysdZSV1c824BTm+BuQl2Ze/k1HtA==} engines: {node: '>= 14.14'} hasBin: true peerDependencies: @@ -20326,7 +20332,7 @@ packages: dependencies: lunr: 2.3.9 marked: 4.2.12 - minimatch: 6.2.0 + minimatch: 7.2.0 shiki: 0.14.1 typescript: 4.9.5 dev: false @@ -21824,7 +21830,7 @@ packages: chai: 4.3.7 chalker: 1.2.0 chokidar: 3.5.3 - core-js: 3.28.0 + core-js: 3.29.0 electrode-server: 3.3.0 electrode-server1: /electrode-server/1.9.0 eslint: 7.32.0 @@ -21898,17 +21904,17 @@ packages: '@types/node': 17.0.45 '@types/sinon': 10.0.13 '@types/sinon-chai': 3.2.9 - '@typescript-eslint/eslint-plugin': 5.53.0_6e392fc05ec1bfc280bb1faf3c69c5ce - '@typescript-eslint/parser': 5.53.0_eslint@8.34.0+typescript@4.9.5 + '@typescript-eslint/eslint-plugin': 5.54.0_f313ab61f51b54d267eab4b4d28cd47a + '@typescript-eslint/parser': 5.54.0_eslint@8.35.0+typescript@4.9.5 '@xarc/module-dev': 4.1.0 '@xarc/run': 1.1.1 - babel-eslint: 10.1.0_eslint@8.34.0 + babel-eslint: 10.1.0_eslint@8.35.0 chai: 4.3.7 chalk: 5.2.0 - eslint: 8.34.0 + eslint: 8.35.0 eslint-config-walmart: 2.2.1 - eslint-plugin-filenames: 1.3.2_eslint@8.34.0 - eslint-plugin-jsdoc: 30.7.13_eslint@8.34.0 + eslint-plugin-filenames: 1.3.2_eslint@8.35.0 + eslint-plugin-jsdoc: 30.7.13_eslint@8.35.0 eslint-plugin-tsdoc: 0.2.17 isomorphic-loader: 4.5.0 mocha: 10.2.0 @@ -22330,7 +22336,7 @@ packages: chai: 4.3.7 chai-as-promised: 7.1.1_chai@4.3.7 chai-shallowly: 1.0.0 - core-js: 3.28.0 + core-js: 3.29.0 enzyme: 3.11.0 enzyme-adapter-react-16: 1.15.7_enzyme@3.11.0 karma: 3.1.4 @@ -22522,21 +22528,21 @@ packages: '@testing-library/react': 11.2.7_react-dom@18.2.0+react@18.2.0 '@types/chai': 4.3.4 '@types/mocha': 9.1.1 - '@types/node': 18.14.1 + '@types/node': 18.14.2 '@types/react': 18.0.28 '@types/react-dom': 18.0.11 '@types/sinon': 10.0.13 '@types/sinon-chai': 3.2.9 - '@typescript-eslint/eslint-plugin': 5.53.0_6e392fc05ec1bfc280bb1faf3c69c5ce - '@typescript-eslint/parser': 5.53.0_eslint@8.34.0+typescript@4.9.5 + '@typescript-eslint/eslint-plugin': 5.54.0_f313ab61f51b54d267eab4b4d28cd47a + '@typescript-eslint/parser': 5.54.0_eslint@8.35.0+typescript@4.9.5 '@xarc/module-dev': 4.1.0 '@xarc/run': 1.1.1 - babel-eslint: 10.1.0_eslint@8.34.0 + babel-eslint: 10.1.0_eslint@8.35.0 chai: 4.3.7 - eslint: 8.34.0 + eslint: 8.35.0 eslint-config-walmart: 2.2.1 - eslint-plugin-filenames: 1.3.2_eslint@8.34.0 - eslint-plugin-jsdoc: 30.7.13_eslint@8.34.0 + eslint-plugin-filenames: 1.3.2_eslint@8.35.0 + eslint-plugin-jsdoc: 30.7.13_eslint@8.35.0 eslint-plugin-tsdoc: 0.2.17 jsdom: 16.7.0 jsdom-global: 3.0.2_jsdom@16.7.0 @@ -22548,7 +22554,7 @@ packages: sinon: 14.0.2 sinon-chai: 3.7.0_chai@4.3.7+sinon@14.0.2 source-map-support: 0.5.21 - ts-node: 10.9.1_a0315032f06afb8221c94e257b39ec96 + ts-node: 10.9.1_22d660128e83668d9cb45e9b8d228608 tslib: 2.5.0 typedoc: 0.22.18_typescript@4.9.5 typescript: 4.9.5 @@ -22699,21 +22705,21 @@ packages: '@testing-library/react': 13.4.0_react-dom@18.2.0+react@18.2.0 '@types/chai': 4.3.4 '@types/mocha': 10.0.1 - '@types/node': 18.14.1 + '@types/node': 18.14.2 '@types/react': 18.0.28 '@types/react-dom': 18.0.11 '@types/sinon': 10.0.13 '@types/sinon-chai': 3.2.9 - '@typescript-eslint/eslint-plugin': 5.53.0_6e392fc05ec1bfc280bb1faf3c69c5ce - '@typescript-eslint/parser': 5.53.0_eslint@8.34.0+typescript@4.9.5 + '@typescript-eslint/eslint-plugin': 5.54.0_f313ab61f51b54d267eab4b4d28cd47a + '@typescript-eslint/parser': 5.54.0_eslint@8.35.0+typescript@4.9.5 '@xarc/module-dev': 3.2.3 '@xarc/run': 1.1.1 - babel-eslint: 10.1.0_eslint@8.34.0 + babel-eslint: 10.1.0_eslint@8.35.0 chai: 4.3.7 - eslint: 8.34.0 + eslint: 8.35.0 eslint-config-walmart: 2.2.1 - eslint-plugin-filenames: 1.3.2_eslint@8.34.0 - eslint-plugin-jsdoc: 30.7.13_eslint@8.34.0 + eslint-plugin-filenames: 1.3.2_eslint@8.35.0 + eslint-plugin-jsdoc: 30.7.13_eslint@8.35.0 jsdom: 19.0.0 jsdom-global: 3.0.2_jsdom@19.0.0 mocha: 10.2.0 @@ -22725,7 +22731,7 @@ packages: sinon: 14.0.2 sinon-chai: 3.7.0_chai@4.3.7+sinon@14.0.2 source-map-support: 0.5.21 - ts-node: 10.9.1_a0315032f06afb8221c94e257b39ec96 + ts-node: 10.9.1_22d660128e83668d9cb45e9b8d228608 tslib: 2.5.0 typedoc: 0.22.18_typescript@4.9.5 typescript: 4.9.5 @@ -22748,21 +22754,21 @@ packages: '@testing-library/react': 13.4.0_react-dom@18.2.0+react@18.2.0 '@types/chai': 4.3.4 '@types/mocha': 10.0.1 - '@types/node': 18.14.1 + '@types/node': 18.14.2 '@types/react': 18.0.28 '@types/react-dom': 18.0.11 '@types/sinon': 10.0.13 '@types/sinon-chai': 3.2.9 - '@typescript-eslint/eslint-plugin': 5.53.0_6e392fc05ec1bfc280bb1faf3c69c5ce - '@typescript-eslint/parser': 5.53.0_eslint@8.34.0+typescript@4.9.5 + '@typescript-eslint/eslint-plugin': 5.54.0_f313ab61f51b54d267eab4b4d28cd47a + '@typescript-eslint/parser': 5.54.0_eslint@8.35.0+typescript@4.9.5 '@xarc/module-dev': 4.1.0 '@xarc/run': 1.1.1 - babel-eslint: 10.1.0_eslint@8.34.0 + babel-eslint: 10.1.0_eslint@8.35.0 chai: 4.3.7 - eslint: 8.34.0 + eslint: 8.35.0 eslint-config-walmart: 2.2.1 - eslint-plugin-filenames: 1.3.2_eslint@8.34.0 - eslint-plugin-jsdoc: 30.7.13_eslint@8.34.0 + eslint-plugin-filenames: 1.3.2_eslint@8.35.0 + eslint-plugin-jsdoc: 30.7.13_eslint@8.35.0 eslint-plugin-tsdoc: 0.2.17 history: 5.3.0 jsdom: 19.0.0 @@ -22778,7 +22784,7 @@ packages: sinon: 14.0.2 sinon-chai: 3.7.0_chai@4.3.7+sinon@14.0.2 source-map-support: 0.5.21 - ts-node: 10.9.1_a0315032f06afb8221c94e257b39ec96 + ts-node: 10.9.1_22d660128e83668d9cb45e9b8d228608 tslib: 2.5.0 typedoc: 0.22.18_typescript@4.9.5 typescript: 4.9.5 @@ -22800,21 +22806,21 @@ packages: '@istanbuljs/nyc-config-typescript': 1.0.2_nyc@15.1.0 '@types/chai': 4.3.4 '@types/mocha': 9.1.1 - '@types/node': 18.14.1 + '@types/node': 18.14.2 '@types/react': 18.0.28 '@types/react-dom': 18.0.11 '@types/sinon': 10.0.13 '@types/sinon-chai': 3.2.9 - '@typescript-eslint/eslint-plugin': 5.53.0_6e392fc05ec1bfc280bb1faf3c69c5ce - '@typescript-eslint/parser': 5.53.0_eslint@8.34.0+typescript@4.9.5 + '@typescript-eslint/eslint-plugin': 5.54.0_f313ab61f51b54d267eab4b4d28cd47a + '@typescript-eslint/parser': 5.54.0_eslint@8.35.0+typescript@4.9.5 '@xarc/module-dev': 4.1.0 '@xarc/run': 1.1.1 - babel-eslint: 10.1.0_eslint@8.34.0 + babel-eslint: 10.1.0_eslint@8.35.0 chai: 4.3.7 - eslint: 8.34.0 + eslint: 8.35.0 eslint-config-walmart: 2.2.1 - eslint-plugin-filenames: 1.3.2_eslint@8.34.0 - eslint-plugin-jsdoc: 30.7.13_eslint@8.34.0 + eslint-plugin-filenames: 1.3.2_eslint@8.35.0 + eslint-plugin-jsdoc: 30.7.13_eslint@8.35.0 eslint-plugin-tsdoc: 0.2.17 mocha: 10.2.0 nyc: 15.1.0 @@ -22823,9 +22829,9 @@ packages: sinon: 14.0.2 sinon-chai: 3.7.0_chai@4.3.7+sinon@14.0.2 source-map-support: 0.5.21 - ts-node: 10.9.1_a0315032f06afb8221c94e257b39ec96 + ts-node: 10.9.1_22d660128e83668d9cb45e9b8d228608 tslib: 2.5.0 - typedoc: 0.23.25_typescript@4.9.5 + typedoc: 0.23.26_typescript@4.9.5 typescript: 4.9.5 transitivePeerDependencies: - '@swc/core' @@ -23182,7 +23188,7 @@ packages: '@istanbuljs/nyc-config-typescript': 1.0.2_nyc@15.1.0 '@types/chai': 4.3.4 '@types/mocha': 10.0.1 - '@types/node': 18.14.1 + '@types/node': 18.14.2 '@types/sinon': 9.0.11 '@types/sinon-chai': 3.2.9 '@typescript-eslint/eslint-plugin': 2.34.0_78673f6a350169a27f383eda83199f64 @@ -23214,7 +23220,7 @@ packages: sinon: 7.5.0 sinon-chai: 3.7.0_chai@4.3.7+sinon@7.5.0 source-map-support: 0.5.21 - ts-node: 10.9.1_a0315032f06afb8221c94e257b39ec96 + ts-node: 10.9.1_22d660128e83668d9cb45e9b8d228608 typedoc: 0.17.8_typescript@4.9.5 typescript: 4.9.5 url-loader: 4.1.1_file-loader@6.2.0+webpack@5.75.0 diff --git a/packages/subapp-server/test/spec/fastify-plugin.spec.js b/packages/subapp-server/test/spec/fastify-plugin.spec.js index 4085f4c76..d8dc822e6 100644 --- a/packages/subapp-server/test/spec/fastify-plugin.spec.js +++ b/packages/subapp-server/test/spec/fastify-plugin.spec.js @@ -9,7 +9,7 @@ describe("fastify-plugin", function () { it("loads server from file system", async () => { const server = await require("@xarc/fastify-server")({ deferStart: true, - connection: { port: 0, host: "localhost" } + connection: { port: 3011, host: "localhost" } }); const srcDir = Path.join(__dirname, "../data/fastify-plugin-test"); @@ -47,7 +47,7 @@ describe("fastify-plugin", function () { delete process.env.APP_SRC_DIR; }) ); - }).timeout(5000); + }).timeout(10000); it("invokes subappServer's setup if it exists", async () => { const server = await require("@xarc/fastify-server")({ @@ -111,7 +111,17 @@ describe("fastify-plugin", function () { asyncVerify( () => fastifyPlugin(server, {}), () => server.start(), - () => { + async () => { + const res = await server.inject({ + method: "GET", + url: `http://localhost:3002/` + }); + expect(res.statusCode).to.equal(200); + let data = ""; + res.on("data", chunk => (data += chunk)); + res.on("done", () => { + expect(data.to.contain("Hello World")); + }); http.get("http://localhost:3002/", res => { expect(res.statusCode).to.equal(200); let data = ""; @@ -123,5 +133,5 @@ describe("fastify-plugin", function () { }, runFinally(() => server.close()) ); - }); + }).timeout(5000); }); From daaff5928dbaf1758c7f4f2466a7f520b87a5585 Mon Sep 17 00:00:00 2001 From: Arun Vishnu <1584121+arunvishnun@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:22:14 -0800 Subject: [PATCH 2/2] fix: test issues in sample apps --- packages/subapp-server/test/spec/fastify-plugin.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subapp-server/test/spec/fastify-plugin.spec.js b/packages/subapp-server/test/spec/fastify-plugin.spec.js index d8dc822e6..171725b3e 100644 --- a/packages/subapp-server/test/spec/fastify-plugin.spec.js +++ b/packages/subapp-server/test/spec/fastify-plugin.spec.js @@ -47,7 +47,7 @@ describe("fastify-plugin", function () { delete process.env.APP_SRC_DIR; }) ); - }).timeout(10000); + }).timeout(5000); it("invokes subappServer's setup if it exists", async () => { const server = await require("@xarc/fastify-server")({