Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Aug 25, 2023
2 parents 0a8c692 + 8a3db0a commit 75856a8
Show file tree
Hide file tree
Showing 91 changed files with 1,755 additions and 1,006 deletions.
3 changes: 2 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"!{workspaceRoot}/**/tsconfig.json",
"!{workspaceRoot}/**/tsconfig.json",
"!{workspaceRoot}/tsconfig.base.json",
"!{workspaceRoot}/**/tsconfig.tsbuildinfo"
"!{workspaceRoot}/**/tsconfig.tsbuildinfo",
"!{workspaceRoot}/**/jest.config.js"
],
"outputs": [
"{projectRoot}/**/*.integ.*.js.snapshot/*",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"jsii-pacmak": "1.87.0",
"jsii-reflect": "1.87.0",
"jsii-rosetta": "~5.1.10",
"ts-jest": "^29.1.1",
"lerna": "^7.1.5",
"nx": "^16.7.3",
"patch-package": "^6.5.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { sleep } from '../lib';
import { ResourcePool } from '../lib/resource-pool';

jest.setTimeout(30_000);

const POOL_NAME = 'resource-pool.test';

test('take and dispose', async () => {
Expand Down
4 changes: 3 additions & 1 deletion packages/@aws-cdk-testing/framework-integ/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ nyc.config.js

!**/*.snapshot/**/asset.*/**

**/*.ts.snapshot
**/*.ts.snapshot

!jest.config.js
14 changes: 14 additions & 0 deletions packages/@aws-cdk-testing/framework-integ/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
// Purposely only run .js files, not .ts files. This is so that the unit tests
// here will use the jsii-compiled version of `aws-cdk-lib`, and not the live-interpreted
// .ts files.
moduleFileExtensions: [
'js',
],
testMatch: [
'<rootDir>/test/**/?(*.)+(test).js',
],

testEnvironment: 'node',
};
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "30.1.0",
"version": "34.0.0",
"files": {
"ffa0280c20139b5a0ec753fdb4365af29fb08ea9703b9139810054417bc99c10": {
"8a58fa97a651075da97dae0f25e1a6d749868a97b0aaa5cad68bc5b40a6ad731": {
"source": {
"path": "aws-cdk-docdb-cluster-rotation.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "ffa0280c20139b5a0ec753fdb4365af29fb08ea9703b9139810054417bc99c10.json",
"objectKey": "8a58fa97a651075da97dae0f25e1a6d749868a97b0aaa5cad68bc5b40a6ad731.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Loading

0 comments on commit 75856a8

Please sign in to comment.