Skip to content

Commit fec1a31

Browse files
committed
chore: update dependencies
1 parent a60454e commit fec1a31

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/amplify-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"@aws-amplify/amplify-util-uibuilder": "1.14.23",
6868
"@aws-cdk/cloudformation-diff": "~2.68.0",
6969
"@aws-sdk/client-amplify": "^3.919.0",
70-
"@aws-sdk/client-appsync": "^3.919.0",
7170
"@aws-sdk/client-cloudformation": "^3.919.0",
7271
"@aws-sdk/client-cloudwatch-events": "^3.919.0",
7372
"@aws-sdk/client-cognito-identity": "^3.919.0",
@@ -118,6 +117,7 @@
118117
},
119118
"devDependencies": {
120119
"@aws-amplify/amplify-function-plugin-interface": "1.12.1",
120+
"@aws-sdk/client-appsync": "^3.919.0",
121121
"@aws-sdk/client-cloudwatch-events": "^3.624.0",
122122
"@aws-sdk/client-cognito-identity-provider": "^3.624.0",
123123
"@aws-sdk/client-lambda": "^3.624.0",

packages/amplify-cli/src/commands/gen2-migration/codegen-generate/src/generators/data/index.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
import assert from 'node:assert';
22
import { printNodeArray } from '../../test_utils/ts_node_printer';
33
import { generateDataSource } from './index';
4+
45
describe('Data Category code generation', () => {
6+
beforeEach(() => {
7+
jest.spyOn(console, 'warn').mockImplementation(() => {});
8+
});
9+
10+
afterEach(() => {
11+
jest.restoreAllMocks();
12+
});
513
it('generates the correct import', async () => {
614
const source = printNodeArray(await generateDataSource());
715
assert.match(source, /import\s?\{\s?defineData\s?\}\s?from\s?"\@aws-amplify\/backend"/);

0 commit comments

Comments
 (0)