Created
June 8, 2021 19:12
-
-
Save byronferguson/e8d092bbaa4bf80872e904054c338cc5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn test --passWithNoTests | |
shell: /usr/bin/bash -e {0} | |
yarn run v1.22.10 | |
$ jest --passWithNoTests | |
PASS src/modules/ticket/ticket.controller.spec.ts (6.959s) | |
FAIL src/modules/nps-survey/nps-survey.service.spec.ts | |
● Test suite failed to run | |
src/modules/nps-survey/nps-survey.service.ts:110:24 - error TS2769: No overload matches this call. | |
The last overload gave the following error. | |
Argument of type '(Promise<InsertResult> | Promise<UpdateResult>)[]' is not assignable to parameter of type 'Iterable<InsertResult | PromiseLike<InsertResult>>'. | |
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. | |
Type 'IteratorResult<Promise<InsertResult> | Promise<UpdateResult>, any>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorYieldResult<InsertResult | PromiseLike<InsertResult>>'. | |
Type 'Promise<InsertResult> | Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'PromiseLike<InsertResult>'. | |
Types of property 'then' are incompatible. | |
Type '<TResult1 = UpdateResult, TResult2 = never>(onfulfilled?: (value: UpdateResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = InsertResult, TResult2 = never>(onfulfilled?: (value: InsertResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => PromiseLike<...>'. | |
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. | |
Types of parameters 'value' and 'value' are incompatible. | |
Property 'identifiers' is missing in type 'UpdateResult' but required in type 'InsertResult'. | |
110 return Promise.all([...updateQueries, this.repo.insert(surveysToInsert)]); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/typeorm/query-builder/result/InsertResult.d.ts:10:5 | |
10 identifiers: ObjectLiteral[]; | |
~~~~~~~~~~~ | |
'identifiers' is declared here. | |
node_modules/typescript/lib/lib.es2015.iterable.d.ts:226:5 | |
226 all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
The last overload is declared here. | |
PASS src/modules/listen-360/listen-360.service.spec.ts | |
PASS src/modules/follow-up-intent/follow-up-intent.service.spec.ts | |
PASS src/modules/follow-up-method/follow-up-method.service.spec.ts | |
PASS src/modules/ticket-status/ticket-status.service.spec.ts | |
PASS src/modules/follow-up-intent/follow-up-intent.controller.spec.ts | |
PASS src/modules/follow-up-method/follow-up-method.controller.spec.ts | |
PASS src/modules/transaction/transaction.service.spec.ts | |
PASS src/modules/ticket-type/ticket-type.service.spec.ts | |
PASS src/modules/notification-service/notification-service.service.spec.ts | |
PASS src/modules/ticket-status/ticket-status.controller.spec.ts | |
PASS src/modules/follow-up/follow-up.service.spec.ts | |
PASS src/modules/transaction/transaction.controller.spec.ts | |
PASS src/modules/outcome/outcome.service.spec.ts | |
PASS src/modules/ticket-type/ticket-type.controller.spec.ts | |
PASS src/modules/ticket/ticket.service.spec.ts | |
FAIL src/modules/nps-survey/nps-survey.controller.spec.ts | |
● Test suite failed to run | |
src/modules/nps-survey/nps-survey.service.ts:110:24 - error TS2769: No overload matches this call. | |
The last overload gave the following error. | |
Argument of type '(Promise<InsertResult> | Promise<UpdateResult>)[]' is not assignable to parameter of type 'Iterable<InsertResult | PromiseLike<InsertResult>>'. | |
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. | |
Type 'IteratorResult<Promise<InsertResult> | Promise<UpdateResult>, any>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorYieldResult<InsertResult | PromiseLike<InsertResult>>'. | |
Type 'Promise<InsertResult> | Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'PromiseLike<InsertResult>'. | |
Types of property 'then' are incompatible. | |
Type '<TResult1 = UpdateResult, TResult2 = never>(onfulfilled?: (value: UpdateResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = InsertResult, TResult2 = never>(onfulfilled?: (value: InsertResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => PromiseLike<...>'. | |
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. | |
Types of parameters 'value' and 'value' are incompatible. | |
Property 'identifiers' is missing in type 'UpdateResult' but required in type 'InsertResult'. | |
110 return Promise.all([...updateQueries, this.repo.insert(surveysToInsert)]); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/typeorm/query-builder/result/InsertResult.d.ts:10:5 | |
10 identifiers: ObjectLiteral[]; | |
~~~~~~~~~~~ | |
'identifiers' is declared here. | |
node_modules/typescript/lib/lib.es2015.iterable.d.ts:226:5 | |
226 all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
The last overload is declared here. | |
PASS src/modules/queue/queue.service.spec.ts | |
PASS src/modules/follow-up/follow-up.controller.spec.ts | |
PASS src/modules/outcome/outcome.controller.spec.ts | |
PASS src/modules/family-service/family-service.service.spec.ts | |
PASS src/modules/queue/queue.controller.spec.ts | |
PASS src/guards/auth/auth.service.spec.ts | |
Summary of all failing tests | |
FAIL modules/nps-survey/nps-survey.service.spec.ts | |
● Test suite failed to run | |
src/modules/nps-survey/nps-survey.service.ts:110:24 - error TS2769: No overload matches this call. | |
The last overload gave the following error. | |
Argument of type '(Promise<InsertResult> | Promise<UpdateResult>)[]' is not assignable to parameter of type 'Iterable<InsertResult | PromiseLike<InsertResult>>'. | |
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. | |
Type 'IteratorResult<Promise<InsertResult> | Promise<UpdateResult>, any>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorYieldResult<InsertResult | PromiseLike<InsertResult>>'. | |
Type 'Promise<InsertResult> | Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'PromiseLike<InsertResult>'. | |
Types of property 'then' are incompatible. | |
Type '<TResult1 = UpdateResult, TResult2 = never>(onfulfilled?: (value: UpdateResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = InsertResult, TResult2 = never>(onfulfilled?: (value: InsertResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => PromiseLike<...>'. | |
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. | |
Types of parameters 'value' and 'value' are incompatible. | |
Property 'identifiers' is missing in type 'UpdateResult' but required in type 'InsertResult'. | |
110 return Promise.all([...updateQueries, this.repo.insert(surveysToInsert)]); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/typeorm/query-builder/result/InsertResult.d.ts:10:5 | |
10 identifiers: ObjectLiteral[]; | |
~~~~~~~~~~~ | |
'identifiers' is declared here. | |
node_modules/typescript/lib/lib.es2015.iterable.d.ts:226:5 | |
226 all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
The last overload is declared here. | |
FAIL modules/nps-survey/nps-survey.controller.spec.ts | |
● Test suite failed to run | |
src/modules/nps-survey/nps-survey.service.ts:110:24 - error TS2769: No overload matches this call. | |
The last overload gave the following error. | |
Argument of type '(Promise<InsertResult> | Promise<UpdateResult>)[]' is not assignable to parameter of type 'Iterable<InsertResult | PromiseLike<InsertResult>>'. | |
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. | |
Type 'IteratorResult<Promise<InsertResult> | Promise<UpdateResult>, any>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorResult<InsertResult | PromiseLike<InsertResult>, any>'. | |
Type 'IteratorYieldResult<Promise<InsertResult> | Promise<UpdateResult>>' is not assignable to type 'IteratorYieldResult<InsertResult | PromiseLike<InsertResult>>'. | |
Type 'Promise<InsertResult> | Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'InsertResult | PromiseLike<InsertResult>'. | |
Type 'Promise<UpdateResult>' is not assignable to type 'PromiseLike<InsertResult>'. | |
Types of property 'then' are incompatible. | |
Type '<TResult1 = UpdateResult, TResult2 = never>(onfulfilled?: (value: UpdateResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = InsertResult, TResult2 = never>(onfulfilled?: (value: InsertResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => PromiseLike<...>'. | |
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. | |
Types of parameters 'value' and 'value' are incompatible. | |
Property 'identifiers' is missing in type 'UpdateResult' but required in type 'InsertResult'. | |
110 return Promise.all([...updateQueries, this.repo.insert(surveysToInsert)]); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/typeorm/query-builder/result/InsertResult.d.ts:10:5 | |
10 identifiers: ObjectLiteral[]; | |
~~~~~~~~~~~ | |
'identifiers' is declared here. | |
node_modules/typescript/lib/lib.es2015.iterable.d.ts:226:5 | |
226 all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
The last overload is declared here. | |
Test Suites: 2 failed, 22 passed, 24 total | |
Tests: 22 passed, 22 total | |
Snapshots: 0 total | |
Time: 21.04s | |
Ran all test suites. | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
Error: Process completed with exit code 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment