Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eddeee888 committed Mar 6, 2023
1 parent 21132ad commit 7758126
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/plugins/typescript/resolvers/tests/mapping.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,6 @@ describe('ResolversTypes', () => {
)) as Types.ComplexPluginOutput;

expect(result.prepend).toContain(`import { CustomPartial } from './my-wrapper';`);
// TODO: eddeee888 check if ResolversUnionTypes.MyUnion is supposed to be which?
// - CustomPartial<Omit<MyType, 'unionChild'> & { unionChild?: Maybe<ResolversTypes['ChildUnion']> }>
// OR
// - CustomPartial<MyType>
expect(result.content).toBeSimilarStringTo(`
export type ResolversUnionTypes = {
ChildUnion: ( Omit<Child, 'parent'> & { parent?: Maybe<ResolversTypes['MyType']> } ) | ( MyOtherType );
Expand Down Expand Up @@ -883,10 +879,6 @@ describe('ResolversTypes', () => {
{ outputFile: '' }
)) as Types.ComplexPluginOutput;

// TODO: eddeee888 check if ResolversUnionTypes.MyUnion is supposed to be which?
// - Partial<Omit<MyType, 'unionChild'> & { unionChild?: Maybe<ResolversTypes['ChildUnion']> }>
// OR
// - Partial<MyType>
expect(result.content).toBeSimilarStringTo(`
export type ResolversUnionTypes = {
ChildUnion: ( Omit<Child, 'parent'> & { parent?: Maybe<ResolversTypes['MyType']> } ) | ( MyOtherType );
Expand Down Expand Up @@ -1689,10 +1681,6 @@ describe('ResolversTypes', () => {
{ outputFile: '' }
)) as Types.ComplexPluginOutput;

// TODO: eddeee888 check if ResolversUnionTypes.MyUnion is supposed to be which?
// - MyNamespace.MyType<Omit<MyType, 'unionChild'> & { unionChild?: Maybe<ResolversTypes['ChildUnion']> }>
// OR
// - MyNamespace.MyType<MyType>
expect(result.prepend).toContain(`import { MyNamespace } from './my-file';`);
expect(result.content).toBeSimilarStringTo(`
export type ResolversUnionTypes = {
Expand Down

0 comments on commit 7758126

Please sign in to comment.