Skip to content

Commit

Permalink
chore(deps-dev): Bump @types/jest from 26.0.15 to 26.0.16 (#323)
Browse files Browse the repository at this point in the history
* chore(deps-dev): Bump @types/jest from 26.0.15 to 26.0.16

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.15 to 26.0.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* fix

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Gus Narea <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 11, 2020
1 parent 5f4024b commit 2e6499f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
36 changes: 18 additions & 18 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@relaycorp/shared-config": "^1.4.6",
"@relaycorp/ws-mock": "^1.4.8",
"@semantic-release/exec": "^5.0.0",
"@types/jest": "^26.0.15",
"@types/jest": "^26.0.16",
"@types/mongoose": "^5.10.2",
"@types/pkijs": "0.0.6",
"@types/split2": "^2.1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/services/cogrpc/service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ describe('collectCargo', () => {

expect(MOCK_RETRIEVE_ACTIVE_PARCELS).toBeCalledWith(
PEER_GATEWAY_ADDRESS,
partialPinoLogger({ peerGatewayAddress: PEER_GATEWAY_ADDRESS }),
partialPinoLogger({ peerGatewayAddress: PEER_GATEWAY_ADDRESS }) as any,
);
});

Expand Down
3 changes: 2 additions & 1 deletion src/services/crcQueueWorker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
SessionlessEnvelopedData,
SessionPublicKeyData,
} from '@relaycorp/relaynet-core';
import { Connection } from 'mongoose';
import * as stan from 'node-nats-streaming';

import { mockPino, mockSpy, PdaChain } from '../_test_utils';
Expand Down Expand Up @@ -58,7 +59,7 @@ mockSpy(jest.spyOn(NatsStreamingClient, 'initFromEnv'), () => mockNatsClient);

//region Mongoose-related fixtures

const MOCK_MONGOOSE_CONNECTION = { what: 'mongooseConnection' };
const MOCK_MONGOOSE_CONNECTION: Connection = { what: 'mongooseConnection' } as any;
mockSpy(jest.spyOn(mongo, 'createMongooseConnectionFromEnv'), () => MOCK_MONGOOSE_CONNECTION);

//region Keystore-related fixtures
Expand Down

0 comments on commit 2e6499f

Please sign in to comment.