Skip to content

Commit 5e052be

Browse files
authored
Merge pull request #246 from proto-graphql/izumin5210/bump-jest
Bump jest monorepo to v29
2 parents dd38cbd + 98e5789 commit 5e052be

File tree

37 files changed

+8839
-9000
lines changed

37 files changed

+8839
-9000
lines changed

e2e/tests/nexus--enums--protobufjs/schema.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ it("processes a query successfully", async () => {
2020
`
2121
);
2222
expect(resp).toMatchInlineSnapshot(`
23-
Object {
24-
"data": Object {
25-
"test": Object {
23+
{
24+
"data": {
25+
"test": {
2626
"optionalMyEnum": null,
2727
"optionalMyEnumWithoutUnspecified": "FOO",
2828
"requiredMyEnum": "BAR",

e2e/tests/nexus--extensions--google-protobuf/schema.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ it("processes a query with squashed union successfully", async () => {
2727
`
2828
);
2929
expect(resp).toMatchInlineSnapshot(`
30-
Object {
31-
"data": Object {
32-
"test": Object {
33-
"squashedMessage": Object {
30+
{
31+
"data": {
32+
"test": {
33+
"squashedMessage": {
3434
"body": "field 2",
3535
},
3636
},

e2e/tests/nexus--extensions--protobufjs/schema.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ it("processes a query with squashed union successfully", async () => {
2727
`
2828
);
2929
expect(resp).toMatchInlineSnapshot(`
30-
Object {
31-
"data": Object {
32-
"testSquashedUnion": Object {
33-
"squashedMessage": Object {
30+
{
31+
"data": {
32+
"testSquashedUnion": {
33+
"squashedMessage": {
3434
"body": "field 2",
3535
},
3636
},
@@ -64,10 +64,10 @@ it("processes a query with interface successfully", async () => {
6464
`
6565
);
6666
expect(resp).toMatchInlineSnapshot(`
67-
Object {
68-
"data": Object {
69-
"testInterface": Object {
70-
"interfaceMessage": Object {
67+
{
68+
"data": {
69+
"testInterface": {
70+
"interfaceMessage": {
7171
"body": "inner message2",
7272
},
7373
},
@@ -95,10 +95,10 @@ it("processes a query with skipResolver successfully", async () => {
9595
`
9696
);
9797
expect(resp).toMatchInlineSnapshot(`
98-
Object {
99-
"data": Object {
100-
"testSkipResolver": Object {
101-
"squashedMessage": Object {
98+
{
99+
"data": {
100+
"testSkipResolver": {
101+
"squashedMessage": {
102102
"skipResolver": "implemented",
103103
},
104104
},

e2e/tests/nexus--primitives--google-protobuf/schema.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ it("processes a query successfully", async () => {
4141
`
4242
);
4343
expect(resp).toMatchInlineSnapshot(`
44-
Object {
45-
"data": Object {
46-
"test": Object {
44+
{
45+
"data": {
46+
"test": {
4747
"optionalPrimitives": null,
48-
"optionalPrimitivesList": Array [],
49-
"requiredPrimitives": Object {
48+
"optionalPrimitivesList": [],
49+
"requiredPrimitives": {
5050
"requiredBoolValue": true,
5151
"requiredDoubleValue": 2.4,
5252
"requiredFixed32Value": 9,
@@ -62,7 +62,7 @@ it("processes a query successfully", async () => {
6262
"requiredUint32Value": 5,
6363
"requiredUint64Value": "6",
6464
},
65-
"requiredPrimitivesList": Array [],
65+
"requiredPrimitivesList": [],
6666
},
6767
},
6868
}

e2e/tests/nexus--primitives--protobufjs/schema.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ it("processes a query successfully", async () => {
4141
`
4242
);
4343
expect(resp).toMatchInlineSnapshot(`
44-
Object {
45-
"data": Object {
46-
"test": Object {
44+
{
45+
"data": {
46+
"test": {
4747
"optionalPrimitives": null,
48-
"optionalPrimitivesList": Array [],
49-
"requiredPrimitives": Object {
48+
"optionalPrimitivesList": [],
49+
"requiredPrimitives": {
5050
"requiredBoolValue": true,
5151
"requiredDoubleValue": 2.4,
5252
"requiredFixed32Value": 9,
@@ -62,7 +62,7 @@ it("processes a query successfully", async () => {
6262
"requiredUint32Value": 5,
6363
"requiredUint64Value": "6",
6464
},
65-
"requiredPrimitivesList": Array [],
65+
"requiredPrimitivesList": [],
6666
},
6767
},
6868
}

e2e/tests/nexus--wktypes--protobufjs/schema.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ it("processes a query successfully", async () => {
2525
`
2626
);
2727
expect(resp).toMatchInlineSnapshot(`
28-
Object {
29-
"data": Object {
30-
"test1": Object {
28+
{
29+
"data": {
30+
"test1": {
3131
"boolValue": true,
3232
"doubleValue": 2.4,
3333
"floatValue": 3.5,
@@ -66,9 +66,9 @@ it("processes a query successfully when returns message fields are null", async
6666
`
6767
);
6868
expect(resp).toMatchInlineSnapshot(`
69-
Object {
70-
"data": Object {
71-
"test2": Object {
69+
{
70+
"data": {
71+
"test2": {
7272
"boolValue": null,
7373
"doubleValue": null,
7474
"floatValue": null,

e2e/tests/pothos--deprecation--ts-proto/schema.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ it("processes a query successfully", async () => {
1717
`
1818
);
1919
expect(resp).toMatchInlineSnapshot(`
20-
Object {
21-
"data": Object {
22-
"test1": Object {
20+
{
21+
"data": {
22+
"test1": {
2323
"body": "hello",
2424
},
25-
"test2": Object {
25+
"test2": {
2626
"body": "world",
2727
},
2828
},

e2e/tests/pothos--edgecases-import_from_same_pkg--ts-proto/schema.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ it("processes a query successfully", async () => {
1616
`
1717
);
1818
expect(resp).toMatchInlineSnapshot(`
19-
Object {
20-
"data": Object {
21-
"test": Object {
22-
"child": Object {
19+
{
20+
"data": {
21+
"test": {
22+
"child": {
2323
"body": "hello",
2424
},
2525
},

e2e/tests/pothos--edgecases-import_squashed_union--ts-proto/schema.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ it("processes a query successfully", async () => {
1919
`
2020
);
2121
expect(resp).toMatchInlineSnapshot(`
22-
Object {
23-
"data": Object {
24-
"test": Object {
25-
"msg": Object {
22+
{
23+
"data": {
24+
"test": {
25+
"msg": {
2626
"__typename": "OneofMessage1",
2727
"body": "hello",
2828
},

e2e/tests/pothos--empty_types--ts-proto/schema.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ it("processes a query successfully", async () => {
1414
`
1515
);
1616
expect(resp).toMatchInlineSnapshot(`
17-
Object {
18-
"data": Object {
19-
"test": Object {
17+
{
18+
"data": {
19+
"test": {
2020
"_": true,
2121
},
2222
},

0 commit comments

Comments
 (0)