Skip to content

Commit

Permalink
fix(tests): fix tests by installing correct protos
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Mar 6, 2024
1 parent c9bc888 commit 6e0094c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"@alenon/grpc-mock-server": "^3.1.9",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@semantic-release-plus/docker": "^3.1.3",
"@grpc/proto-loader": "^0.7.10",
"@restorecommerce/dev": "^0.0.9",
"@restorecommerce/protos": "^6.8.0",
"@semantic-release-plus/docker": "^3.1.3",
"@types/ioredis": "^5.0.0",
"@types/mocha": "^10.0.6",
"@types/nconf": "^0.10.6",
Expand Down
2 changes: 1 addition & 1 deletion test/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const contactPoints = [
payload: {
id: 'contactPoint_1',
contactPointTypeIds: [
'legal_address'
'legal'
],
name: 'Contact Point 1',
description: 'A mocked Contact Point for testing',
Expand Down
1 change: 0 additions & 1 deletion test/ordering-srv.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ describe('The Ordering Service:', () => {
it(`should evaluate valid orders by sample: ${sample_name}`, async function() {
this.timeout(5000);
const response = await client.evaluate(sample);
console.log(JSON.stringify(response, undefined, 2));
should.equal(
response.operationStatus?.code,
200,
Expand Down

0 comments on commit 6e0094c

Please sign in to comment.