Skip to content

Commit

Permalink
QoL debug script and snapshot update
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer authored and JakeDawkins committed Jan 14, 2019
1 parent 7105b73 commit 8fd101a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 63 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"lint": "prettier --list-different \"packages/*/src/**/*.{js,jsx,ts,tsx}\"",
"lint-fix": "prettier --write \"packages/*/src/**/*.{js,jsx,ts,tsx}\"",
"test": "jest",
"test:debug": "node --inspect-brk=9001 node_modules/.bin/jest --runInBand",
"posttest": "npm run lint",
"circle": "npm run test -- --ci --maxWorkers=2",
"release": "npm run clean && npm ci && lerna publish --exact",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,69 +37,6 @@ exports[`client:codegen generates operation IDs for swift files when flag is set
}"
`;

exports[`client:codegen writes TypeScript global types to a custom path when globalTypesFile is set 1`] = `
"/* tslint:disable */
// This file was automatically generated and should not be edited.
import { SomeEnum } from \\"./../../__foo__/bar\\";
// ====================================================
// GraphQL query operation: SimpleQuery
// ====================================================
export interface SimpleQuery {
someEnum: SomeEnum;
}
"
`;

exports[`client:codegen writes TypeScript global types to a custom path when globalTypesFile is set 2`] = `
"/* tslint:disable */
// This file was automatically generated and should not be edited.
//==============================================================
// START Enums and Input Objects
//==============================================================
export enum SomeEnum {
bar = \\"bar\\",
foo = \\"foo\\",
}
//==============================================================
// END Enums and Input Objects
//==============================================================
"
`;

exports[`client:codegen writes TypeScript types into a __generated__ directory next to sources when no output is set 1`] = `
"/* tslint:disable */
// This file was automatically generated and should not be edited.
// ====================================================
// GraphQL query operation: SimpleQuery
// ====================================================
export interface SimpleQuery {
hello: string;
}
"
`;

exports[`client:codegen writes TypeScript types into a __generated__ directory next to sources when no output is set 2`] = `
"/* tslint:disable */
// This file was automatically generated and should not be edited.
//==============================================================
// START Enums and Input Objects
//==============================================================
//==============================================================
// END Enums and Input Objects
//==============================================================
"
`;

exports[`client:codegen writes exact Flow types when the useFlowExactObjects flag is set 1`] = `
"
Expand Down

0 comments on commit 8fd101a

Please sign in to comment.