# Problem

Using CDK v2, I wanted to ensure all of my lambda functions had the nodejs14.x runtime. I knew I could ensure that at least one resource was created with the desired property using the aws-cdk-lib/assertions package like this:

describe('lambdas',() => {
test('should all have NodeJS14.x runtime', () . . .