@@ -143,8 +143,7 @@ export const aQuery = (overrides?: Partial<Query>): Query => {
143
143
`;
144
144
145
145
exports[`should add enumsPrefix to imports 1`] = `
146
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
147
- import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, Api } from './types/graphql';
146
+ "import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, Api } from './types/graphql';
148
147
149
148
export const anAvatar = (overrides?: Partial<Avatar>): Avatar => {
150
149
return {
@@ -216,8 +215,7 @@ export const aQuery = (overrides?: Partial<Query>): Query => {
216
215
`;
217
216
218
217
exports[`should add typesPrefix and enumsPrefix to imports 1`] = `
219
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
220
- import { Api } from './types/graphql';
218
+ "import { Api } from './types/graphql';
221
219
222
220
export const anAvatar = (overrides?: Partial<Api.Avatar>): Api.Avatar => {
223
221
return {
@@ -360,8 +358,7 @@ export const aQuery = (overrides?: Partial<Api.Query>): Api.Query => {
360
358
`;
361
359
362
360
exports[`should add typesPrefix to imports 1`] = `
363
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
364
- import { Api, AbcStatus, Status } from './types/graphql';
361
+ "import { Api, AbcStatus, Status } from './types/graphql';
365
362
366
363
export const anAvatar = (overrides?: Partial<Api.Avatar>): Api.Avatar => {
367
364
return {
@@ -859,8 +856,7 @@ export const aQuery = (overrides?: Partial<Query>): Query => {
859
856
`;
860
857
861
858
exports[`should generate mock data functions with external types file import 1`] = `
862
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
863
- import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, AbcStatus, Status } from './types/graphql';
859
+ "import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, AbcStatus, Status } from './types/graphql';
864
860
865
861
export const anAvatar = (overrides?: Partial<Avatar>): Avatar => {
866
862
return {
@@ -1216,8 +1212,7 @@ export const aQuery = (overrides?: Partial<Query>): Query => {
1216
1212
`;
1217
1213
1218
1214
exports[`should generate mock data with PascalCase types and enums by default 1`] = `
1219
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
1220
- import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, AbcStatus, Status } from './types/graphql';
1215
+ "import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, AbcStatus, Status } from './types/graphql';
1221
1216
1222
1217
export const anAvatar = (overrides?: Partial<Avatar>): Avatar => {
1223
1218
return {
@@ -1652,8 +1647,7 @@ export const aQUERY = (overrides?: Partial<QUERY>): QUERY => {
1652
1647
`;
1653
1648
1654
1649
exports[`should generate mock data with upperCase types and imports if typenames is "upper-case#upperCase" 1`] = `
1655
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
1656
- import { AVATAR, USER, WITHAVATAR, CAMELCASETHING, PREFIXED_RESPONSE, ABCTYPE, UPDATEUSERINPUT, MUTATION, QUERY, ABCSTATUS, STATUS } from './types/graphql';
1650
+ "import { AVATAR, USER, WITHAVATAR, CAMELCASETHING, PREFIXED_RESPONSE, ABCTYPE, UPDATEUSERINPUT, MUTATION, QUERY, ABCSTATUS, STATUS } from './types/graphql';
1657
1651
1658
1652
export const anAVATAR = (overrides?: Partial<AVATAR>): AVATAR => {
1659
1653
return {
@@ -1725,8 +1719,7 @@ export const aQUERY = (overrides?: Partial<QUERY>): QUERY => {
1725
1719
`;
1726
1720
1727
1721
exports[`should not merge imports into one if enumsPrefix does not contain dots 1`] = `
1728
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
1729
- import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, ApiAbcStatus, ApiStatus } from './types/graphql';
1722
+ "import { Avatar, User, WithAvatar, CamelCaseThing, PrefixedResponse, AbcType, UpdateUserInput, Mutation, Query, ApiAbcStatus, ApiStatus } from './types/graphql';
1730
1723
1731
1724
export const anAvatar = (overrides?: Partial<Avatar>): Avatar => {
1732
1725
return {
@@ -1798,8 +1791,7 @@ export const aQuery = (overrides?: Partial<Query>): Query => {
1798
1791
`;
1799
1792
1800
1793
exports[`should not merge imports into one if typesPrefix does not contain dots 1`] = `
1801
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
1802
- import { ApiAvatar, ApiUser, ApiWithAvatar, ApiCamelCaseThing, ApiPrefixedResponse, ApiAbcType, ApiUpdateUserInput, ApiMutation, ApiQuery, AbcStatus, Status } from './types/graphql';
1794
+ "import { ApiAvatar, ApiUser, ApiWithAvatar, ApiCamelCaseThing, ApiPrefixedResponse, ApiAbcType, ApiUpdateUserInput, ApiMutation, ApiQuery, AbcStatus, Status } from './types/graphql';
1803
1795
1804
1796
export const anAvatar = (overrides?: Partial<ApiAvatar>): ApiAvatar => {
1805
1797
return {
@@ -1871,8 +1863,7 @@ export const aQuery = (overrides?: Partial<ApiQuery>): ApiQuery => {
1871
1863
`;
1872
1864
1873
1865
exports[`should preserve underscores if transformUnderscore is false 1`] = `
1874
- "/* eslint-disable @typescript-eslint/no-use-before-define,@typescript-eslint/no-unused-vars,no-prototype-builtins */
1875
- import { Avatar, User, WithAvatar, CamelCaseThing, Prefixed_Response, AbcType, UpdateUserInput, Mutation, Query, AbcStatus, Status } from './types/graphql';
1866
+ "import { Avatar, User, WithAvatar, CamelCaseThing, Prefixed_Response, AbcType, UpdateUserInput, Mutation, Query, AbcStatus, Status } from './types/graphql';
1876
1867
1877
1868
export const anAvatar = (overrides?: Partial<Avatar>): Avatar => {
1878
1869
return {
0 commit comments