Skip to content

Commit 0342de0

Browse files
committed
clean up
1 parent ece99ac commit 0342de0

File tree

11 files changed

+85
-1597
lines changed

11 files changed

+85
-1597
lines changed

.vscode/gh-runners.code-workspace

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,5 @@
88
"name": "🚀 lambdas",
99
"path": "../lambdas"
1010
}
11-
],
12-
"settings": {
13-
"jest.autoRun": "on",
14-
"jest.disabledWorkspaceFolders": [
15-
"✨ root"
16-
]
17-
}
11+
]
1812
}

lambdas/functions/control-plane/src/lambda.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ vi.mock('./scale-runners/job-retry');
7070
vi.mock('@aws-github-runner/aws-powertools-util');
7171
vi.mock('@aws-github-runner/aws-ssm-util');
7272

73-
// Docs for testing async with jest: https://jestjs.io/docs/tutorial-async
7473
describe('Test scale up lambda wrapper.', () => {
7574
it('Do not handle multiple record sets.', async () => {
7675
await testInvalidRecords([sqsRecord, sqsRecord]);

lambdas/functions/termination-watcher/src/lambda.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ const context: Context = {
8484
},
8585
};
8686

87-
// Docs for testing async with jest: https://jestjs.io/docs/tutorial-async
8887
describe('Handle sport termination interruption warning', () => {
8988
beforeEach(() => {
9089
vi.clearAllMocks();

lambdas/functions/webhook/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"@aws-sdk/client-eventbridge": "^3.758.0",
2020
"@types/aws-lambda": "^8.10.146",
2121
"@types/express": "^5.0.0",
22-
"@types/jest": "^29.5.14",
2322
"@types/node": "^22.13.9",
2423
"@vercel/ncc": "0.38.3",
2524
"body-parser": "^1.20.3",

lambdas/package.json

-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
},
2323
"devDependencies": {
2424
"@nx/eslint": "20.4.6",
25-
"@nx/jest": "20.3.0",
2625
"@nx/js": "^20.3.2",
2726
"@nx/vite": "^20.4.6",
2827
"@swc-node/register": "~1.10.9",
@@ -35,7 +34,6 @@
3534
"chalk": "^5.4.1",
3635
"eslint": "^8.57.0",
3736
"eslint-plugin-prettier": "5.2.3",
38-
"jest": "^29.7.0",
3937
"nx": "20.3.2",
4038
"prettier": "^3.4.2",
4139
"typescript": "^5.7.3",

0 commit comments

Comments
 (0)