diff --git a/package-lock.json b/package-lock.json index 0154412..60b0d90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@aws-sdk/client-dynamodb": "^3.549.0", "@aws-sdk/lib-dynamodb": "^3.549.0", - "@dvsa/cvs-type-definitions": "7.1.0", + "@dvsa/cvs-type-definitions": "7.4.0", "@smithy/smithy-client": "^2.5.0", "aws-lambda": "^1.0.7", "aws-xray-sdk": "^3.6.0", @@ -1937,9 +1937,9 @@ } }, "node_modules/@dvsa/cvs-type-definitions": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@dvsa/cvs-type-definitions/-/cvs-type-definitions-7.1.0.tgz", - "integrity": "sha512-zvuzyBNu30wmjo9vkjmXTokoy3Gvii9Sj7y+AmQeqe0fp1HbJRF27nu68n457VHyQf+rDQACIVvDksGVXY8Cqg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@dvsa/cvs-type-definitions/-/cvs-type-definitions-7.4.0.tgz", + "integrity": "sha512-MGiIQ2It0xBlu9n+RqgrnlEpsHWUoZFPqIGF4VcaMpTCgVzcNE9TriuJMmdGI6TiegzxByOIhYNNtjQYQ1x5cA==", "dependencies": { "ajv": "^8.12.0", "json-schema-deref-sync": "^0.14.0", diff --git a/package.json b/package.json index ac3be97..b618a0e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "dependencies": { "@aws-sdk/client-dynamodb": "^3.549.0", "@aws-sdk/lib-dynamodb": "^3.549.0", - "@dvsa/cvs-type-definitions": "7.1.0", + "@dvsa/cvs-type-definitions": "7.4.0", "@smithy/smithy-client": "^2.5.0", "aws-lambda": "^1.0.7", "aws-xray-sdk": "^3.6.0", diff --git a/tests/unit/createActivities.unitTest.ts b/tests/unit/createActivities.unitTest.ts index f2c51ab..6d531d5 100644 --- a/tests/unit/createActivities.unitTest.ts +++ b/tests/unit/createActivities.unitTest.ts @@ -230,7 +230,7 @@ describe('createActivity', () => { expect.assertions(1); return activityService.createActivity(payload).catch((error: HTTPResponse) => { const body: any = JSON.parse(error.body); - expect(body.error).toEqual('"testStationType" must be one of [atf, gvts, hq, potf]'); + expect(body.error).toEqual('"testStationType" must be one of [atf, gvts, hq, potf, vef]'); }); }); });