Skip to content

Commit 8fd101a

Browse files
trevor-scheerJakeDawkins
authored andcommitted
QoL debug script and snapshot update
1 parent 7105b73 commit 8fd101a

2 files changed

Lines changed: 1 addition & 63 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"lint": "prettier --list-different \"packages/*/src/**/*.{js,jsx,ts,tsx}\"",
2424
"lint-fix": "prettier --write \"packages/*/src/**/*.{js,jsx,ts,tsx}\"",
2525
"test": "jest",
26+
"test:debug": "node --inspect-brk=9001 node_modules/.bin/jest --runInBand",
2627
"posttest": "npm run lint",
2728
"circle": "npm run test -- --ci --maxWorkers=2",
2829
"release": "npm run clean && npm ci && lerna publish --exact",

packages/apollo/src/commands/client/__tests__/__snapshots__/generate.test.ts.snap

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -37,69 +37,6 @@ exports[`client:codegen generates operation IDs for swift files when flag is set
3737
}"
3838
`;
3939

40-
exports[`client:codegen writes TypeScript global types to a custom path when globalTypesFile is set 1`] = `
41-
"/* tslint:disable */
42-
// This file was automatically generated and should not be edited.
43-
44-
import { SomeEnum } from \\"./../../__foo__/bar\\";
45-
46-
// ====================================================
47-
// GraphQL query operation: SimpleQuery
48-
// ====================================================
49-
50-
export interface SimpleQuery {
51-
someEnum: SomeEnum;
52-
}
53-
"
54-
`;
55-
56-
exports[`client:codegen writes TypeScript global types to a custom path when globalTypesFile is set 2`] = `
57-
"/* tslint:disable */
58-
// This file was automatically generated and should not be edited.
59-
60-
//==============================================================
61-
// START Enums and Input Objects
62-
//==============================================================
63-
64-
export enum SomeEnum {
65-
bar = \\"bar\\",
66-
foo = \\"foo\\",
67-
}
68-
69-
//==============================================================
70-
// END Enums and Input Objects
71-
//==============================================================
72-
"
73-
`;
74-
75-
exports[`client:codegen writes TypeScript types into a __generated__ directory next to sources when no output is set 1`] = `
76-
"/* tslint:disable */
77-
// This file was automatically generated and should not be edited.
78-
79-
// ====================================================
80-
// GraphQL query operation: SimpleQuery
81-
// ====================================================
82-
83-
export interface SimpleQuery {
84-
hello: string;
85-
}
86-
"
87-
`;
88-
89-
exports[`client:codegen writes TypeScript types into a __generated__ directory next to sources when no output is set 2`] = `
90-
"/* tslint:disable */
91-
// This file was automatically generated and should not be edited.
92-
93-
//==============================================================
94-
// START Enums and Input Objects
95-
//==============================================================
96-
97-
//==============================================================
98-
// END Enums and Input Objects
99-
//==============================================================
100-
"
101-
`;
102-
10340
exports[`client:codegen writes exact Flow types when the useFlowExactObjects flag is set 1`] = `
10441
"
10542

0 commit comments

Comments
 (0)