added funding org to the search #411
Annotations
6 errors and 1 warning
Elastic Search Service › Should search using the elastic client:
src/service/elastic_service.test.ts#L58
expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)
n: 1
- Expected
+ Received
@@ -25,10 +25,11 @@
"fields": Array [
"fields.grantName.en-US",
"fields.grantSummaryTab.en-US.content.content.*",
"fields.grantEligibilityTab.en-US.content.content.*",
"fields.grantShortDescription.en-US",
+ "fields.grantFunder.en-US",
],
"fuzziness": "AUTO",
"operator": "AND",
"query": "Search Term",
},,
Number of calls: 1
at Object.toHaveBeenNthCalledWith (src/service/elastic_service.test.ts:58:27)
|
Elastic Search Service › Should search using the elastic forum:
src/service/elastic_service.test.ts#L82
expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)
n: 1
- Expected
+ Received
@@ -25,10 +25,11 @@
"fields": Array [
"fields.grantName.en-US",
"fields.grantSummaryTab.en-US.content.content.*",
"fields.grantEligibilityTab.en-US.content.content.*",
"fields.grantShortDescription.en-US",
+ "fields.grantFunder.en-US",
],
"fuzziness": "AUTO",
"operator": "AND",
"query": "Search Term",
},,
Number of calls: 1
at Object.toHaveBeenNthCalledWith (src/service/elastic_service.test.ts:82:27)
|
Elastic Search Service › elastic service sortBy tests › should sort the results in asc order when closingDate is passed into the function:
src/service/elastic_service.test.ts#L106
expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)
n: 1
- Expected
+ Received
@@ -25,10 +25,11 @@
"fields": Array [
"fields.grantName.en-US",
"fields.grantSummaryTab.en-US.content.content.*",
"fields.grantEligibilityTab.en-US.content.content.*",
"fields.grantShortDescription.en-US",
+ "fields.grantFunder.en-US",
],
"fuzziness": "AUTO",
"operator": "AND",
"query": "Search Term",
},,
Number of calls: 1
at Object.toHaveBeenNthCalledWith (src/service/elastic_service.test.ts:106:29)
|
Elastic Search Service › elastic service sortBy tests › should sort the results in desc order when maxValue is passed into the function:
src/service/elastic_service.test.ts#L129
expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)
n: 1
- Expected
+ Received
@@ -25,10 +25,11 @@
"fields": Array [
"fields.grantName.en-US",
"fields.grantSummaryTab.en-US.content.content.*",
"fields.grantEligibilityTab.en-US.content.content.*",
"fields.grantShortDescription.en-US",
+ "fields.grantFunder.en-US",
],
"fuzziness": "AUTO",
"operator": "AND",
"query": "Search Term",
},,
Number of calls: 1
at Object.toHaveBeenNthCalledWith (src/service/elastic_service.test.ts:129:29)
|
Elastic Search Service › elastic service sortBy tests › should sort the results in asc order when minValue is passed into the function:
src/service/elastic_service.test.ts#L152
expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)
n: 1
- Expected
+ Received
@@ -25,10 +25,11 @@
"fields": Array [
"fields.grantName.en-US",
"fields.grantSummaryTab.en-US.content.content.*",
"fields.grantEligibilityTab.en-US.content.content.*",
"fields.grantShortDescription.en-US",
+ "fields.grantFunder.en-US",
],
"fuzziness": "AUTO",
"operator": "AND",
"query": "Search Term",
},,
Number of calls: 1
at Object.toHaveBeenNthCalledWith (src/service/elastic_service.test.ts:152:29)
|
Test app
Process completed with exit code 1.
|
Test app
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|