@@ -38,7 +38,7 @@ const testEntity = async (generatedTypes: any[], expectedEntity: any) => {
3838 expect ( methods . length ) . toBe ( expectedEntity . methods . length ) ;
3939} ;
4040
41- describe . concurrent ( 'Schema code generator' , ( ) => {
41+ describe ( 'Schema code generator' , { concurrent : true } , ( ) => {
4242 test ( 'Should generate nothing for non entity types' , ( ) => {
4343 const codegen = createSchemaCodeGen ( `
4444 type Foo {
@@ -217,7 +217,7 @@ describe.concurrent('Schema code generator', () => {
217217 return 0
218218 } else {
219219 return value.toI32()
220- }
220+ }
221221 ` ,
222222 } ,
223223 {
@@ -313,7 +313,7 @@ describe.concurrent('Schema code generator', () => {
313313 params : [ ] ,
314314 returnType : new NamedType ( 'WalletLoader' ) ,
315315 body : `
316- return new WalletLoader("Account", this.get('id')!.toString(), "wallets")
316+ return new WalletLoader("Account", this.get('id')!.toString(), "wallets")
317317 ` ,
318318 } ,
319319 ] ,
@@ -566,7 +566,7 @@ describe.concurrent('Schema code generator', () => {
566566 id: Bytes!
567567 related: [RelatedBytes!]! @derivedFrom(field: "related")
568568 }
569-
569+
570570 type RelatedBytes @entity {
571571 id: ID!
572572 related: WithBytes!
@@ -647,17 +647,17 @@ describe.concurrent('Schema code generator', () => {
647647 test ( 'no derived loader for interface' , ( ) => {
648648 const codegen = createSchemaCodeGen ( `
649649 interface IExample {
650- id: ID!
650+ id: ID!
651651 main: Main!
652652 num: Int!
653653 }
654-
654+
655655 type Example1 implements IExample @entity {
656- id: ID!
656+ id: ID!
657657 main: Main!
658658 num: Int!
659659 }
660-
660+
661661 type Main @entity {
662662 id: ID!
663663 examples: [IExample!]! @derivedFrom(field: "main")
0 commit comments