From 3a7106bf7c9cba96338165d7ce72e74e5d01b187 Mon Sep 17 00:00:00 2001 From: Austin Devine Date: Wed, 26 Feb 2025 10:32:01 +0000 Subject: [PATCH 1/3] test --- nx.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx.json b/nx.json index 2c82999026..a145bab33d 100644 --- a/nx.json +++ b/nx.json @@ -25,12 +25,12 @@ "{projectRoot}/lib", "{projectRoot}/storybook" ], - "cache": true + "cache": false }, "test": { "inputs": ["default", "^prod", "{workspaceRoot}/jest.base.js", "{projectRoot}/jest.config.js"], "outputs": ["{projectRoot}/coverage"], - "cache": true + "cache": false }, "test:integration": { "inputs": ["default", "^prod", "{workspaceRoot}/jest.base.js", "{projectRoot}/jest.config.js"], From 7e1d57b9634bc75ca1b85807a58f97272bd27133 Mon Sep 17 00:00:00 2001 From: Austin Devine Date: Wed, 26 Feb 2025 16:47:57 +0000 Subject: [PATCH 2/3] Adjust caching --- nx.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nx.json b/nx.json index a145bab33d..acf3ce658d 100644 --- a/nx.json +++ b/nx.json @@ -14,7 +14,8 @@ "!{projectRoot}/**/*.test.tsx", "!{projectRoot}/**/*.spec.ts", "!{projectRoot}/**/*.test.ts" - ] + ], + "sharedGlobals": [{ "runtime": "node --version", "os": "node -e 'console.log(os.platform())'"}] }, "targetDefaults": { "build": { @@ -25,12 +26,12 @@ "{projectRoot}/lib", "{projectRoot}/storybook" ], - "cache": false + "cache": true }, "test": { "inputs": ["default", "^prod", "{workspaceRoot}/jest.base.js", "{projectRoot}/jest.config.js"], "outputs": ["{projectRoot}/coverage"], - "cache": false + "cache": true }, "test:integration": { "inputs": ["default", "^prod", "{workspaceRoot}/jest.base.js", "{projectRoot}/jest.config.js"], From 74a3b69be3afae80904fb012d1999b3b023b3e51 Mon Sep 17 00:00:00 2001 From: Austin Devine Date: Wed, 26 Feb 2025 18:50:22 +0000 Subject: [PATCH 3/3] extend timeout --- packages/cf-deploy-config-writer/test/unit/index-base.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cf-deploy-config-writer/test/unit/index-base.test.ts b/packages/cf-deploy-config-writer/test/unit/index-base.test.ts index c6b625d9dd..c5a8b5b410 100644 --- a/packages/cf-deploy-config-writer/test/unit/index-base.test.ts +++ b/packages/cf-deploy-config-writer/test/unit/index-base.test.ts @@ -90,6 +90,7 @@ describe('CF Writer Base', () => { }); test('Generate deployment configs - standalone with connectivity service', async () => { + jest.setTimeout(20000); const debugSpy = jest.spyOn(logger, 'debug'); const mtaId = 'standalone-with-connectivity-service'; const mtaPath = join(outputDir, mtaId);